# JLSEC-2026-50: Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environme…

- Severity: High 8.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-03T13:27:15.647Z
- Modified: 2026-07-18T00:00:49.256Z
- Related: CVE-2024-10979

## Description

Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH).  That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user.  Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

(As written by Julia Security Advisories.)

## Affected

- LibPQ_jll (Julia): before 16.8.0+0

## References

- <https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md> (web)
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html> (web)
- <https://security.netapp.com/advisory/ntap-20250110-0003/> (web)
- <https://www.postgresql.org/support/security/CVE-2024-10979/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-50](https://osv.dev/vulnerability/JLSEC-2026-50), CC-BY-4.0, modified 2026-07-18

---

Page: https://cve.day/JLSEC-2026-50 · Whole record: https://cve.day/JLSEC-2026-50.json · Rebuilt by cve.day 2026-11-25T22:56:26.141Z
