CVE-2024-52006Network attack vector

Credential exfiltration via bare carriage-return field injection

Published Jan 14, 2025 · Updated Nov 3, 2025

Improper input neutralization in affected Git releases allows remote attackers to exfiltrate stored credentials via a crafted clone URL. The credential_write_item function rejects line feeds but serializes URL-derived values containing bare carriage returns, so CR-sensitive helpers parse injected protocol fields. Exploitation requires interaction with an untrusted repository or recursive submodule plus a configured helper that treats bare carriage returns as line breaks and holds credentials for the injected host; Git then sends those credentials to the attacker’s server.

CVSS severity2.1
Low
EPSS probability1.06%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Improper input neutralization in affected Git releases allows remote attackers to exfiltrate stored credentials via a crafted clone URL. The credential_write_item function rejects line feeds but serializes URL-derived values containing bare carriage returns, so CR-sensitive helpers parse injected protocol fields. Exploitation requires interaction with an untrusted repository or recursive submodule plus a configured helper that treats bare carriage returns as line breaks and holds credentials for the injected host; Git then sends those credentials to the attacker’s server.

The record

CVE
CVE-2024-52006
Published
Jan 14, 2025
Updated
Nov 3, 2025
Vendor
Git
Product
Git
Classifications
CWE-147, CWE-150, CWE-116, T1555, T1204.001
Attack vector
network
Privileges
unauthenticated

Timeline

How it unfolded

  1. Jan 14, 2025CVE publishedPublication date reported by the CVE source.
  2. Nov 3, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=<= 2.40.3
  2. Affected versionversion=>= 2.41.0, <= 2.41.2
  3. Affected versionversion=>= 2.42.0, <= 2.42.3
  4. Affected versionversion=>= 2.43.0, <= 2.43.5
  5. Affected versionversion=>= 2.44.0, <= 2.44.2
  6. Affected versionversion=>= 2.45.0, <= 2.45.2
  7. Affected versionversion=>= 2.46.0, <= 2.46.2
  8. Affected versionversion=>= 2.47.0, < 2.47.2
  9. Affected versionversion== 2.48.0

What conditions does exploitation require?

Attack vectornetwork
Required privilegesunauthenticated

What is affected?

Git · Gitversion=<= 2.40.3; version=>= 2.41.0, <= 2.41.2; version=>= 2.42.0, <= 2.42.3; version=>= 2.43.0, <= 2.43.5; version=>= 2.44.0, <= 2.44.2; version=>= 2.45.0, <= 2.45.2; version=>= 2.46.0, <= 2.46.2; version=>= 2.47.0, < 2.47.2; version== 2.48.0

Published CVSS scores

2.1GitHubCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesunauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-147Improper Neutralization of Input Terminators
CWE-150Improper Neutralization of Escape, Meta, or Control Sequences
CWE-116Improper Encoding or Escaping of Output
T1555Credentials from Password Stores
T1204.001Malicious Link

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo