Skip to main content
← All vulnerabilities
CVE-2025-0218

pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

When batch jobs are executed by pgAgent, a script is created in a temporary directory and then executed. In versions of pgAgent prior to 4.2.3, an insufficiently seeded random number generator is used when generating the directory name, leading to the possibility for a local attacker to pre-create the directory and thus prevent pgAgent from executing jobs, disrupting scheduled tasks.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a pgAgent

    From 4 · fixed in 4.2.3

References 1

GitHub · pgadmin-org/pgagent