Security advisory
The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, making it a *different* URL usingthe wrong host name when it is later retrieved.For example, a URL like `http://example.com%2F127.0.0.1/`, would be allowed bythe parser and get transposed into `http://example.com/127.0.0.1/`. This flawcan be used to circumvent filters, checks and more.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-27780
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 11:41 UTC · Revision 1
Source evidence
The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, making it a *different* URL usingthe wrong host name when it is later retrieved.For example, a URL like `http://example.com%2F127.0.0.1/`, would be allowed bythe parser and get transposed into `http://example.com/127.0.0.1/`. This flawcan be used to circumvent filters, checks and more.
osv:CVE-2022-27780
Complete source record
{
"id": "bb33b7375f5de8bb139bb83d141f935cd616137ddc17f6a7e2d20d7eb0acb541",
"url": "https://osv.dev/vulnerability/CVE-2022-27780",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-27780",
"summary": "The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, making it a *different* URL usingthe wrong host name when it is later retrieved.For example, a URL like `http://example.com%2F127.0.0.1/`, would be allowed bythe parser and get transposed into `http://example.com/127.0.0.1/`. This flawcan be used to circumvent filters, checks and more.",
"evidence": "osv:CVE-2022-27780",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-27780",
"aliases": [
"CURL-CVE-2022-27780",
"CVE-2022-27780"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/curl/curl",
"type": "GIT",
"events": [
{
"introduced": "9e560d11aad028de74addc0d1edfefa5667884f4"
},
{
"fixed": "462196e6b4a47f924293a0e26b8e9c23d37ac26f"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.80.0"
},
{
"fixed": "7.83.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"curl-7_83_0",
"curl-7_82_0",
"curl-7_81_0",
"curl-7_80_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27780.json"
}
}
],
"modified": "2026-10-28T02:30:34.731801137Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-398330.html",
"https://hackerone.com/reports/1553841",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27780.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-27780",
"https://security.gentoo.org/glsa/202212-01",
"https://security.netapp.com/advisory/ntap-20220609-0009/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-177"
],
"cna_assigner": "hackerone",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "7.83.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "VersionTextExtraction"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27780.json"
}
},
"related_cves": [
{
"value": "CVE-2022-27780",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 502107,
"published_at": "2022-06-01T00:00:00+00:00"
}