Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-0218— pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service

Quick assessment

Affected
n/a pgAgent
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pgAgent是pgAdmin Project开源的一个 PostgreSQL 的作业调度程序。 pgAgent 4.2.3之前版本存在安全漏洞,该漏洞源于生成目录名时使用的随机数生成器初始化不足,导致本地攻击者可预先创建目录来阻止pgAgent执行作业,从而扰乱计划任务。

CVSS 5.5 · Medium EPSS 0.17% · P6

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-0218

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pgAgent scheduled batch job scripts are created in a predictable temporary directory potentially allowing a denial of service
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
可预测问题
Source: CVE Program / CVE List V5
Vulnerability Title
pgAgent 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pgAgent是pgAdmin Project开源的一个 PostgreSQL 的作业调度程序。 pgAgent 4.2.3之前版本存在安全漏洞,该漏洞源于生成目录名时使用的随机数生成器初始化不足,导致本地攻击者可预先创建目录来阻止pgAgent执行作业,从而扰乱计划任务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
- pgAgent 4 ~ 4.2.3 -

II. Public POCs for CVE-2025-0218

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-0218

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-0218 (1)

Same Patch Batch · n/a · 2025-01-07 · 27 CVEs total

CVE-2024-55412 SUNIX Serial Driver 缓冲区错误漏洞
CVE-2024-53522 Bangkok Medical Software HOSxP XE 安全特征问题漏洞
CVE-2024-53345 Car Rental Management System 代码问题漏洞
CVE-2024-46603 Elspec G5 Digital Fault Recorder 代码问题漏洞
CVE-2024-46602 Elspec G5 Digital Fault Recorder 代码问题漏洞
CVE-2024-46242 CTFd 安全漏洞
CVE-2024-46601 Elspec G5 Digital Fault Recorder 安全漏洞
CVE-2024-54819 I, Librarian 代码问题漏洞
CVE-2024-50658 iPublish AdPortal 代码注入漏洞
CVE-2024-50660 iPublish AdPortal 代码注入漏洞
CVE-2024-50659 iPublish AdPortal 跨站脚本漏洞
CVE-2024-44450 AIMS eCrew 安全漏洞
CVE-2024-40427 PX4 Drone Autopilot 安全漏洞
CVE-2022-41573 Ovidentia 代码问题漏洞
CVE-2024-55218 IceWarp Server 跨站脚本漏洞
CVE-2024-55411 SUNIX Multi I/O Card 安全漏洞
CVE-2024-55413 SUNIX Parallel Driver 缓冲区错误漏洞
CVE-2024-55556 Crater 代码问题漏洞
CVE-2024-55555 Invoice Ninja 代码问题漏洞
CVE-2024-55414 Motorola SM56 Modem WDM Driver 命令注入漏洞

Showing top 20 of 27 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2025-0218

No comments yet


Leave a comment