# CVE-2026-54511: @logtape/syslog: syslog log injection via unescaped control characters and unvalidated SD-NAME keys

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-08-26T14:27:27.910Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: GHSA-8h6h-x5pq-56fq
- Weaknesses: CWE-93, CWE-117
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

LogTape is an unobtrusive logging library. Prior to 1.3.11, 2.0.14, and 2.1.5, the @logtape/syslog package's escapeStructuredDataValue() function in packages/syslog/src/syslog.ts does not neutralize C0 control characters from U+0000 through U+001F in structured data values, and formatStructuredData() inserts property keys without validating the RFC 5424 SD-NAME grammar. When includeStructuredData is true, an attacker-controlled newline can terminate an RFC 6587 non-transparent TCP syslog frame and make following bytes appear as a forged RFC 5424 record, while a key containing a closing bracket or other forbidden character can terminate or corrupt the structured-data element. Applications that forward attacker-controlled property values or keys can therefore allow forged records with arbitrary hosts, applications, process identifiers, facilities, or severity levels, undermining downstream collector and SIEM integrity. This issue is fixed in versions 1.3.11, 2.0.14, and 2.1.5.

(As written by CVE List.)

## Affected

- dahlia logtape: < 1.3.11; >= 2.0.0, < 2.0.14; >= 2.1.0, < 2.1.5
- @logtape/syslog (npm): from 2.1.0 before 2.1.5; from 2.0.0 before 2.0.14; before 1.3.11

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N`

## References

- <https://github.com/dahlia/logtape/security/advisories/GHSA-8h6h-x5pq-56fq> (web)
- <https://github.com/dahlia/logtape/commit/7a6e5b9ddf7915edfff78fa129bc17c979b2a623> (web)
- <https://github.com/dahlia/logtape/releases/tag/1.3.11> (web)
- <https://github.com/dahlia/logtape/releases/tag/2.0.14> (web)
- <https://github.com/dahlia/logtape/releases/tag/2.1.5> (web)
- <https://github.com/dahlia/logtape> (package)

## Sources

- CVE List: [CVE-2026-54511](https://www.cve.org/CVERecord?id=CVE-2026-54511), CVE Terms of Use, modified 2026-08-27
- GitHub Advisory Database: [GHSA-8h6h-x5pq-56fq](https://github.com/advisories/GHSA-8h6h-x5pq-56fq), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-54511](https://nvd.nist.gov/vuln/detail/CVE-2026-54511), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-54511 · Whole record: https://cve.day/CVE-2026-54511.json · Rebuilt by cve.day 2026-11-25T22:59:35.370Z
