Home / Ledgersmb / Ledgersmb / CVE-2007-1540
CVE-2007-1540: is it exploited, and which versions of Ledgersmb are affected and fixed?
CVE-2007-1540 is a vulnerability in Ledgersmb. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: ledgersmb through 1.1.8 and sql-ledger through 2.6.27 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:53 UTC.
What is CVE-2007-1540?
Directory traversal vulnerability in am.pl in (1) SQL-Ledger 2.6.27 and earlier, and (2) LedgerSMB before 1.2.0, allows remote attackers to run arbitrary executables and bypass authentication via a .. (dot dot) sequence and trailing NULL (%00) in the login parameter. NOTE: this issue was reportedly addressed in SQL-Ledger 2.6.27, however third-party researchers claim that the file is still executed even though an error is generated.
From the CVE record by mitre, last updated August 7, 2024, 12:59 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| ledgersmb | ledgersmb | through 1.1.8 | application |
| sql-ledger | sql-ledger | through 2.6.27 | application |
NVD analysis (status Modified), last modified June 16, 2026, 22:37 UTC.
How severe is CVE-2007-1540?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-1540 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 5.10% probability of exploitation activity in the next 30 days, percentile 92.6 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- 24560 third-party-advisory, x_refsource_SECUNIA
- http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New x_refsource_CONFIRM
- http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965 x_refsource_CONFIRM
- 33624 vdb-entry, x_refsource_OSVDB
- ADV-2007-1024 vdb-entry, x_refsource_VUPEN
- ADV-2007-1025 vdb-entry, x_refsource_VUPEN
- 24585 third-party-advisory, x_refsource_SECUNIA
- 20070318 Full Disclosure: Arbitrary execution vulnerability in SQL-Ledger and LedgerSMB mailing-list, x_refsource_BUGTRAQ
- 23034 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- March 20, 2007
- Published
- March 20, 2007, 22:00 UTC
- CVE record updated
- August 7, 2024, 12:59 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:37 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:53 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ledgersmb?
- Feb 2, 2024CVE-2024-23831 LedgerSMB: cross-site request forgery (CSRF)
- Jun 8, 2018CVE-2018-9246 Pgobject-util-dbadmin Project Pgobject-util-dbadmin: improper output encoding
- Sep 15, 2008CVE-2008-4078 Ledgersmb: SQL injection
- Sep 15, 2008CVE-2008-4077 Ledgersmb: denial of service (uncontrolled resource consumption)
- Jul 19, 2007CVE-2007-3907 Ledgersmb: n/a
- Apr 10, 2007CVE-2007-1923 Ledgersmb: n/a
- Mar 13, 2007CVE-2007-1437 Ledgersmb: n/a
- Mar 13, 2007CVE-2007-1436 Ledgersmb: n/a
Questions about CVE-2007-1540
Is CVE-2007-1540 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 5.10% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Ledgersmb are affected by CVE-2007-1540?
ledgersmb through 1.1.8 and sql-ledger through 2.6.27, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-1540?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2007-1540?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2007-1540?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.