All reports
High

postgresql: PostgreSQL PL/Perl environment variable changes execute arbitrary code

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-10979

Probability of exploitation in the next 30 days: 4.39%

FIRST EPSS · 2026-11-20

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.

A flaw was found in PostgreSQL PL/Perl. This vulnerability allows an unprivileged database user to change sensitive process environment variables (e.g., PATH) via incorrect control of environment variables.