Depending on the pressure, you might be able to just fit the absolute pressure sensor inside an air filled balloon or condom, then bind the opening to the cable.
If the pressure is more extreme, the same idea will work with something more robust like a section of bicycle inner tube filled with some light oil.
The more usual way to measure hydrostatic pressure at depth is to lower a hose to that depth, then raise the air pressure in the hose until the submerged end just bubbles. You can then measure the air pressure in the hose above the surface, and keep the sensor well above the fluid level and completely dry.
This idea is very commonly used to measure water level in dams, storm water drains and sewers, and it works very well with extremely dirty toxic or aggressive fluids.