High [CVE-2026-67326] Remote Code Execution via Newline Injection in config_writer
This high-severity Red Hat Linux advisory covers CVE-2026-67326 affecting Red Hat Hardened Images.
Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.
VulniPulse record published Record updated
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.
Summary
GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(), allowing attackers to inject arbitrary section headers into.git/config.
Attackers can inject newlines to create a forged [core] section with hooksPath pointing to attacker-controlled directories, achieving remote code execution when git hooks are triggered. A flaw was found in GitPython.
Red Hat severity: Moderate — CVSS 7 (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H). Weakness: CWE-93.
Affected Red Hat products: Red Hat Hardened Images. Red Hat fixing advisory: RHSA-2026:44416, RHSA-2026:45785, RHSA-2026:45940.
- < 3.1.50
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
- llvm-main-22.1.8-4.1.hum1
- swift-lang-main-6.3.3-0.1.1.hum1
- llvm21-main-21.1.8-8.hum1
- RHSA-2026:44416
- RHSA-2026:45785
- RHSA-2026:45940
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Mitigation
Upgrade to a fixed release: llvm-main-22.1.8-4.1.hum1, swift-lang-main-6.3.3-0.1.1.hum1, llvm21-main-21.1.8-8.hum1, RHSA-2026:44416, RHSA-2026:45785, RHSA-2026:45940. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 2 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.