Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40342: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in FirebirdSQL firebird

0
Critical
Published: Fri Apr 17 2026 (04/17/2026, 19:22:46 UTC)
Source: CVE Database V5
Vendor/Project: FirebirdSQL
Product: firebird

Description

CVE-2026-40342 is a critical path traversal vulnerability in FirebirdSQL firebird versions prior to 5. 0. 4, 4. 0. 7, and 3. 0. 14. It allows an authenticated user with CREATE FUNCTION privileges to craft an ENGINE name that causes the plugin loader to load an arbitrary shared library from anywhere on the filesystem. This leads to immediate code execution as the server's operating system account during library initialization. The vulnerability has been fixed in Firebird versions 5.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/17/2026, 20:08:09 UTC

Technical Analysis

FirebirdSQL firebird's external engine plugin loader improperly concatenates a user-supplied engine name into a filesystem path without filtering path separators or '..' components. This allows an authenticated user with CREATE FUNCTION privileges to perform path traversal and load arbitrary shared libraries, resulting in code execution as the server OS user. The issue affects versions prior to 5.0.4, 4.0.7, and 3.0.14 and has been addressed in those fixed versions.

Potential Impact

Successful exploitation allows an authenticated user with CREATE FUNCTION privileges to execute arbitrary code on the server with the same privileges as the Firebird server's operating system account. This can lead to full system compromise, data theft, or disruption of service. The CVSS v3.1 score is 10.0 (critical), indicating high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

This vulnerability has been fixed in FirebirdSQL firebird versions 5.0.4, 4.0.7, and 3.0.14. Users should upgrade to these or later versions to remediate the issue. No official temporary workaround or mitigation is indicated in the provided data. Patch status is confirmed by the vendor's versioning information.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-10T22:50:01.358Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e28fa4bdfbbecc59867cc1

Added to database: 4/17/2026, 7:53:08 PM

Last enriched: 4/17/2026, 8:08:09 PM

Last updated: 4/17/2026, 9:20:51 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses