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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40342— Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution

Quick assessment

Affected
FirebirdSQL firebird
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.

Firebird是Firebird基金会的一套开源跨平台的提供多个ANSI SQL-92功能的关系型数据库管理系统。 Firebird 5.0.4之前版本、4.0.7之前版本和3.0.14之前版本存在安全漏洞,该漏洞源于外部引擎插件加载器将用户提供的引擎名称拼接到文件系统路径时未过滤路径分隔符或..组件,可能导致经过身份验证的用户通过路径遍历从文件系统任意位置加载共享库并执行代码。

CVSS 10.0 · Critical EPSS 0.69% · P53
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40342

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
Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution
Source: CVE Program / CVE List V5
Vulnerability Description
Firebird is an open-source relational database management system. In versions prior to 5.0.4, 4.0.7 and 3.0.14, the external engine plugin loader concatenates a user-supplied engine name into a filesystem path without filtering path separators or .. components. An authenticated user with CREATE FUNCTION privileges can use a crafted ENGINE name to load an arbitrary shared library from anywhere on the filesystem via path traversal. The library's initialization code executes immediately during loading, before Firebird validates the module, achieving code execution as the server's OS account. This issue has been fixed in versions 5.0.4, 4.0.7 and 3.0.14.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Firebird 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Firebird是Firebird基金会的一套开源跨平台的提供多个ANSI SQL-92功能的关系型数据库管理系统。 Firebird 5.0.4之前版本、4.0.7之前版本和3.0.14之前版本存在安全漏洞,该漏洞源于外部引擎插件加载器将用户提供的引擎名称拼接到文件系统路径时未过滤路径分隔符或..组件,可能导致经过身份验证的用户通过路径遍历从文件系统任意位置加载共享库并执行代码。
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)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
FirebirdSQL firebird < 3.0.14 -

II. Public POCs for CVE-2026-40342

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40342

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

Vendor Advisories for CVE-2026-40342 (1)

Vendor Pages for CVE-2026-40342 (1)

Same Patch Batch · FirebirdSQL · 2026-04-17 · 9 CVEs total

CVE-2026-27890 8.2 HIGH Firebird has Pre-Auth DOS when Processing Out of Order CNCT_specific_data Segments
CVE-2026-28224 8.2 HIGH Firebird Null Pointer Dereference via CryptCallback causes DOS
CVE-2025-65104 7.9 HIGH Firebird: Information leak vulnerability in firebird3 client when used with newer server
CVE-2026-35215 7.5 HIGH Firebird: DoS via malicious slice descriptor in slice packet
CVE-2026-34232 7.5 HIGH Firebird: DoS via `op_response` packet from client
CVE-2026-28212 7.5 HIGH Firebird has potential server crash via null pointer dereference when processing op_slice
CVE-2026-33337 7.5 HIGH Firebird has a buffer overflow when parsing corrupted slice packets
CVE-2026-28214 Firebird server hangs when using specific clumplet on batch creation

IV. Related Vulnerabilities