CVE-2026-65636: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in ufirstgroup ymlr
CVE-2026-65636 is a low-severity vulnerability in the ufirstgroup ymlr library (Elixir.Ymlr module) affecting versions from 0.0.1 up to but not including 5.1.6. It allows attackers who can supply comment strings to inject arbitrary content into generated YAML documents due to improper neutralization of CRLF sequences. This can lead to forged top-level mapping keys, overridden values, or splitting the YAML output into multiple documents. The vulnerability affects multiple document encoding functions in the library.
AI Analysis
Technical Summary
The vulnerability arises because Ymlr.document!/2 and related functions interpolate user-supplied comment strings directly into YAML output behind a single # prefix without validating or escaping line breaks. Since YAML comments end at the first line break, an attacker can inject carriage return or line feed characters to terminate the comment early and inject arbitrary YAML content at the document root level. This can manipulate the structure and content of the YAML output, potentially impacting downstream consumers such as configuration loaders or CI pipelines. The issue affects ymlr versions >=0.0.1 and <5.1.6.
Potential Impact
An attacker who controls comment text passed to the ymlr library can inject arbitrary YAML content into generated documents. This can lead to forged or overridden YAML keys and values, and splitting the document into multiple YAML documents. Downstream systems that parse these YAML documents may process the injected content as legitimate data, potentially causing unintended behavior or configuration changes. The CVSS 4.0 base score is 2.1, indicating low severity with limited attack vector (local) and partial impact on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid passing untrusted or attacker-controlled strings as comments to the ymlr document generation functions. Validate or sanitize comment inputs to remove CRLF characters or other control characters that could terminate comments prematurely.
CVE-2026-65636: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in ufirstgroup ymlr
Description
CVE-2026-65636 is a low-severity vulnerability in the ufirstgroup ymlr library (Elixir.Ymlr module) affecting versions from 0.0.1 up to but not including 5.1.6. It allows attackers who can supply comment strings to inject arbitrary content into generated YAML documents due to improper neutralization of CRLF sequences. This can lead to forged top-level mapping keys, overridden values, or splitting the YAML output into multiple documents. The vulnerability affects multiple document encoding functions in the library.
CVSS v4.0
Score 2.1low
Affected software
cpe:2.3:a:ufirstgroup:ymlr:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because Ymlr.document!/2 and related functions interpolate user-supplied comment strings directly into YAML output behind a single # prefix without validating or escaping line breaks. Since YAML comments end at the first line break, an attacker can inject carriage return or line feed characters to terminate the comment early and inject arbitrary YAML content at the document root level. This can manipulate the structure and content of the YAML output, potentially impacting downstream consumers such as configuration loaders or CI pipelines. The issue affects ymlr versions >=0.0.1 and <5.1.6.
Potential Impact
An attacker who controls comment text passed to the ymlr library can inject arbitrary YAML content into generated documents. This can lead to forged or overridden YAML keys and values, and splitting the document into multiple YAML documents. Downstream systems that parse these YAML documents may process the injected content as legitimate data, potentially causing unintended behavior or configuration changes. The CVSS 4.0 base score is 2.1, indicating low severity with limited attack vector (local) and partial impact on integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid passing untrusted or attacker-controlled strings as comments to the ymlr document generation functions. Validate or sanitize comment inputs to remove CRLF characters or other control characters that could terminate comments prematurely.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-07-22T13:58:26.233Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6cac2eb597da70a833a421
Added to database: 07/31/2026, 14:07:42 UTC
Last enriched: 07/31/2026, 14:58:30 UTC
Last updated: 07/31/2026, 14:58:30 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.