CVE-2025-48056: Github.com/cilium/hubble Character Injection Vulnerability
MODERATECVE-2025-48056 is a MODERATE (CVSS 5.3) character injection vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting Github.com/cilium/hubble libraries in the Go ecosystem. The issue involves character injection in hubble cli. Remediation is available by upgrading affected packages to version 1.17.2.
CVE-2025-48056 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2025-48056
To remediate this vulnerability, upgrade all affected Github.com/cilium/hubble dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/cilium/hubble to 1.17.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/cilium/hubble
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-48056, inspect your project dependencies for Github.com/cilium/hubble:
inspect dependencies for github.com/cilium/hubble
Analyze the terminal output to locate any version of Github.com/cilium/hubble in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.17.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In Github.com/cilium/hubble, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-48056 Affected Github.com/cilium/hubble Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/cilium/hubble
|
Go |
< 1.17.2
|
1.17.2
|
References
Frequently Asked Questions
What is CVE-2025-48056?
Which Github.com/cilium/hubble versions are affected?
What version fixes CVE-2025-48056?
Is github.com/cilium/hubble affected?
What is the CVSS score of CVE-2025-48056?
What CWE is associated with CVE-2025-48056?
How can I check Go dependencies for CVE-2025-48056?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-274q-79q9-52j7",
"modified" : "2025-05-21T17:16:19Z",
"published" : "2025-05-21T17:16:19Z",
"aliases" : [ "CVE-2025-48056" ],
"summary" : "Character injection in Hubble CLI",
"details" : "### Impact\n\nA network attacker could inject malicious control characters into Hubble CLI terminal output, potentially leading to loss of integrity and manipulation of the output. This could be leveraged to conceal log entries, rewrite output, or even make the terminal temporarily unusable. Exploitation of this attack would require the victim to be monitoring Kafka traffic using [Layer 7 Protocol Visibility](https://docs.cilium.io/en/stable/observability/visibility/#layer-7-protocol-visibility) at the time of the attack.\n\n### Patches\n\nThis issue affects all versions of Hubble CLI before v1.17.2. The issue is patched in Hubble CLI v1.17.2, via https://github.com/cilium/cilium/pull/37401.\n\n### Workarounds\n\nHubble CLI users who are unable to upgrade can direct their Hubble flows to a log file and inspect the output within a text editor.\n\n### Acknowledgements\n\nThe Cilium community has worked together with members of Isovalent and the Cisco ASIG team to prepare these mitigations. Special thanks to @bipierce-cisco and @kokelley-cisco for reporting the issue and to @devodev for the fix.\n\n### For more information\n\nIf you have any questions or comments about this advisory, please reach out on [Slack](https://docs.cilium.io/en/latest/community/community/#slack).\n\nIf you think you have found a vulnerability affecting Cilium, we strongly encourage you to report it to our security mailing list at [security@cilium.io](mailto:security@cilium.io). This is a private mailing list for the Cilium security team, and your report will be treated as top priority.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/cilium/hubble"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.17.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cilium/hubble/security/advisories/GHSA-274q-79q9-52j7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-48056"
}, {
"type" : "WEB",
"url" : "https://github.com/cilium/cilium/pull/37401"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cilium/hubble"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-21T17:16:19Z",
"nvd_published_at" : "2025-05-20T20:15:42Z"
}
}