10

CVE-2026-40342: firebirdsql firebird Path Traversal

CVSS: 10.0v3.1CriticalAnalyzed
AliasesUBUNTU-CVE-2026-40342DEBIAN-CVE-2026-40342
Published 17-04-2026Last modified 22-04-2026

Vulnerability summary

CVE-2026-40342 is a critical (CVSS 10.0) Path Traversal vulnerability in firebirdsql firebird. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 57.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.84%
0%100%
Low · +0.15 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 17-04-2026
    PublishedVulnerability first disclosed.
  2. 22-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.84%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

+0.15 pp

From 0.69% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.84%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Firebird

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • firebird3.0All versions (No fix recorded) | < 3.0.14.ds7-1
  • firebird4.0All versions (No fix recorded) | < 4.0.7.3271.ds6-1
Ubuntu2 products
  • firebird3.0All versions (No fix recorded)
  • firebird4.0All versions (No fix recorded)
Firebirdsql1 product
  • firebird< 3.0.14 | ≥ 4.0.0, < 4.0.7 | ≥ 5.0.0, < 5.0.4

3 vendors · 5 products

References

7 links