CVE-2025-0218
Last modified
CVE-2025-0218 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pgadmin | Pgagent | < 4.2.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-0218?
How severe is CVE-2025-0218?
How do I fix CVE-2025-0218?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-0211A vulnerability was found in Campcodes School Faculty Schedu…9.8
- CVE-2025-0212A vulnerability was found in Campcodes Student Grading Syste…9.8
- CVE-2025-0213A vulnerability was found in Campcodes Project Management Sy…9.8
- CVE-2025-0214A vulnerability was found in TMD Custom Header Menu 4.0.0.1 …4.1
- CVE-2025-0215The UpdraftPlus: WP Backup & Migration Plugin plugin for Wor…6.1
- CVE-2025-0217BeyondTrust Privileged Remote Access (PRA) versions prior to…7.8
- CVE-2025-0219A vulnerability, which was classified as problematic, has be…5.1
- CVE-2025-0220A vulnerability, which was classified as problematic, was fo…5.1
- CVE-2025-0221A vulnerability has been found in IOBit Protected Folder up …5.5
- CVE-2025-0222A vulnerability was found in IObit Protected Folder up to 13…5.5
- CVE-2025-0223A vulnerability was found in IObit Protected Folder up to 13…5.5
- CVE-2025-0224A vulnerability was found in Provision-ISR SH-4050A-2, SH-41…6.9
Are you affected by CVE-2025-0218?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
