CVE-2026-43971 (GCVE-0-2026-43971)

Vulnerability from cvelistv5 – Published: 2026-08-18 09:01 – Updated: 2026-09-16 20:24
VLAI
Title
Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1
Summary
Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1. cow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A > byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A " or \ in rel escapes the quoted string and opens new parameters. Any byte — including whitespace, =, and " — in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel="preconnect", rel="preload", and rel="prerender", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins. This issue affects cowlib: from 2.9.0 before 2.20.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-18 14:11 UTC
CWE
  • CWE-116 - Improper Encoding or Escaping of Output
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 374 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
ninenines cowlib Affected: 2.9.0 , < 2.20.0 (semver)
    cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
Create a notification for this product.
ninenines cowlib Affected: 485d58dfa91b91d98135dc95e5615f421715dae5 , < 89da27ee4c241f5d649ba7d9b7f2188918af6cea (git)
    cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-43971",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-18T14:11:55.645955Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-18T14:12:35.495Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "cow_link"
          ],
          "packageName": "cowlib",
          "packageURL": "pkg:hex/cowlib",
          "product": "cowlib",
          "programFiles": [
            "src/cow_link.erl"
          ],
          "programRoutines": [
            {
              "name": "cow_link:link/1"
            },
            {
              "name": "cow_link:do_link/1"
            },
            {
              "name": "cow_link:escape/2"
            }
          ],
          "repo": "https://github.com/ninenines/cowlib",
          "vendor": "ninenines",
          "versions": [
            {
              "lessThan": "2.20.0",
              "status": "affected",
              "version": "2.9.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "cow_link"
          ],
          "packageName": "ninenines/cowlib",
          "packageURL": "pkg:github/ninenines/cowlib",
          "product": "cowlib",
          "programFiles": [
            "src/cow_link.erl"
          ],
          "programRoutines": [
            {
              "name": "cow_link:link/1"
            },
            {
              "name": "cow_link:do_link/1"
            },
            {
              "name": "cow_link:escape/2"
            }
          ],
          "repo": "https://github.com/ninenines/cowlib",
          "vendor": "ninenines",
          "versions": [
            {
              "lessThan": "89da27ee4c241f5d649ba7d9b7f2188918af6cea",
              "status": "affected",
              "version": "485d58dfa91b91d98135dc95e5615f421715dae5",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe application must pass values that originate from, or can be influenced by, untrusted input into \u003ccode\u003ecow_link:link/1\u003c/code\u003e \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The application must pass values that originate from, or can be influenced by, untrusted input into `cow_link:link/1` \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "value": "The application must pass values that originate from, or can be influenced by, untrusted input into cow_link:link/1 \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.20.0",
                  "versionStartIncluding": "2.9.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jonatan M\u00e4nnchen / EEF"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Lo\u00efc Hoguin"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eImproper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in \u003ccode\u003ecow_link:link/1\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_link:do_link/1\u003c/code\u003e in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized \u003ccode\u003eLink:\u003c/code\u003e header value without escaping or token-grammar validation. A \u003ccode\u003e\u0026gt;\u003c/code\u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, \u003ccode\u003e=\u003c/code\u003e, and \u003ccode\u003e\"\u003c/code\u003e \u2014 in an attribute key is emitted verbatim. Because browsers act on \u003ccode\u003eLink:\u003c/code\u003e directives such as \u003ccode\u003erel=\"preconnect\"\u003c/code\u003e, \u003ccode\u003erel=\"preload\"\u003c/code\u003e, and \u003ccode\u003erel=\"prerender\"\u003c/code\u003e, an attacker who can influence these fields in an application that round-trips parsed Link headers through \u003ccode\u003ecow_link:link/1\u003c/code\u003e can force victim browsers to make out-of-band connections to attacker-controlled origins.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.20.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in `cow_link:link/1`.\n\n`cow_link:do_link/1` in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized `Link:` header value without escaping or token-grammar validation. A `\u003e` byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A `\"` or `\\` in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, `=`, and `\"` \u2014 in an attribute key is emitted verbatim. Because browsers act on `Link:` directives such as `rel=\"preconnect\"`, `rel=\"preload\"`, and `rel=\"prerender\"`, an attacker who can influence these fields in an application that round-trips parsed Link headers through `cow_link:link/1` can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
            }
          ],
          "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1.\n\ncow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A \u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \" or \\ in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, =, and \" \u2014 in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel=\"preconnect\", rel=\"preload\", and rel=\"prerender\", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-137",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-137 Parameter Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-116",
              "description": "CWE-116 Improper Encoding or Escaping of Output",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-16T20:24:09.279Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "EEF CNA record for CVE-2026-43971",
          "tags": [
            "related",
            "third-party-advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-43971.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-43971",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43971"
        },
        {
          "name": "Introducing commit 485d58d in ninenines/cowlib",
          "tags": [
            "related"
          ],
          "url": "https://github.com/ninenines/cowlib/commit/485d58dfa91b91d98135dc95e5615f421715dae5"
        },
        {
          "name": "Fix commit 89da27e in ninenines/cowlib",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/ninenines/cowlib/commit/89da27ee4c241f5d649ba7d9b7f2188918af6cea"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eSanitize values before passing them to \u003ccode\u003ecow_link:link/1\u003c/code\u003e: reject or strip any target value containing \u003ccode\u003e\u0026gt;\u003c/code\u003e, any rel value containing \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Sanitize values before passing them to `cow_link:link/1`: reject or strip any target value containing `\u003e`, any rel value containing `\"` or `\\`, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
            }
          ],
          "value": "Sanitize values before passing them to cow_link:link/1: reject or strip any target value containing \u003e, any rel value containing \" or \\, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-43971",
    "datePublished": "2026-08-18T09:01:53.199Z",
    "dateReserved": "2026-05-04T18:23:25.574Z",
    "dateUpdated": "2026-09-16T20:24:09.279Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-43971",
      "date": "2026-11-24",
      "epss": "0.00524",
      "percentile": "0.45032"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-16T22:54:39.000Z",
      "cve": "CVE-2026-43971",
      "id": "msrc_CVE-2026-43971",
      "initial_release_date": "2026-08-21T14:03:12.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "2",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-43971.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://repo.hex.pm",
                "cpes": [
                  "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "cow_link"
                ],
                "packageName": "cowlib",
                "packageURL": "pkg:hex/cowlib",
                "product": "cowlib",
                "programFiles": [
                  "src/cow_link.erl"
                ],
                "programRoutines": [
                  {
                    "name": "cow_link:link/1"
                  },
                  {
                    "name": "cow_link:do_link/1"
                  },
                  {
                    "name": "cow_link:escape/2"
                  }
                ],
                "repo": "https://github.com/ninenines/cowlib",
                "vendor": "ninenines",
                "versions": [
                  {
                    "lessThan": "2.20.0",
                    "status": "affected",
                    "version": "2.9.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://github.com",
                "cpes": [
                  "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "cow_link"
                ],
                "packageName": "ninenines/cowlib",
                "packageURL": "pkg:github/ninenines/cowlib",
                "product": "cowlib",
                "programFiles": [
                  "src/cow_link.erl"
                ],
                "programRoutines": [
                  {
                    "name": "cow_link:link/1"
                  },
                  {
                    "name": "cow_link:do_link/1"
                  },
                  {
                    "name": "cow_link:escape/2"
                  }
                ],
                "repo": "https://github.com/ninenines/cowlib",
                "vendor": "ninenines",
                "versions": [
                  {
                    "lessThan": "89da27ee4c241f5d649ba7d9b7f2188918af6cea",
                    "status": "affected",
                    "version": "485d58dfa91b91d98135dc95e5615f421715dae5",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1.\n\ncow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A \u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \" or \\ in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, =, and \" \u2014 in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel=\"preconnect\", rel=\"preload\", and rel=\"prerender\", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
          },
          {
            "lang": "es",
            "value": "La vulnerabilidad de codificaci\u00f3n o escape de salida incorrectos en ninenines cowlib permite el contrabando de directivas de encabezado Link a trav\u00e9s de caracteres especiales sin escape en cow_link:link/1.\n\ncow_link:do_link/1 en cowlib interpola la URI de destino, el valor rel y las claves de atributo directamente en el valor del encabezado Link: serializado sin escape ni validaci\u00f3n de gram\u00e1tica de tokens. Un byte \u003e en el destino cierra prematuramente la ranura URI, permitiendo a un atacante a\u00f1adir entradas de enlace adicionales con directivas rel elegidas por el atacante. Un \u2019 o \\ en rel escapa la cadena entre comillas y abre nuevos par\u00e1metros. Cualquier byte -incluyendo espacios en blanco, =, y \u2019- en una clave de atributo se emite textualmente. Debido a que los navegadores act\u00faan sobre directivas Link: como rel=\u2019preconnect\u2019, rel=\u2019preload\u2019 y rel=\u2019prerender\u2019, un atacante que puede influir en estos campos en una aplicaci\u00f3n que procesa encabezados Link analizados a trav\u00e9s de cow_link:link/1 puede forzar a los navegadores de las v\u00edctimas a realizar conexiones fuera de banda a or\u00edgenes controlados por el atacante.\n\nEste problema afecta a cowlib: a partir de la versi\u00f3n 2.9.0."
          }
        ],
        "id": "CVE-2026-43971",
        "lastModified": "2026-10-22T22:10:00.250",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-43971",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-18T14:11:55.645955Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-18T09:17:14.340",
        "references": [
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://cna.erlef.org/cves/CVE-2026-43971.html"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/ninenines/cowlib/commit/485d58dfa91b91d98135dc95e5615f421715dae5"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/ninenines/cowlib/commit/89da27ee4c241f5d649ba7d9b7f2188918af6cea"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43971"
          }
        ],
        "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-116"
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-09T20:12:35+00:00",
      "cve": "CVE-2026-43971",
      "id": "CVE-2026-43971",
      "initial_release_date": "2026-08-18T09:01:53.199000+00:00",
      "product_status:fixed": "3",
      "product_status:known_affected": "4",
      "product_status:known_not_affected": "2",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "cowlib: cowlib: Link header smuggling allows out-of-band connections to attacker-controlled origins",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43971.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-43971",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-18T14:11:55.645955Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-18T14:12:27.772Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_link"
              ],
              "packageName": "cowlib",
              "packageURL": "pkg:hex/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_link.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_link:link/1"
                },
                {
                  "name": "cow_link:do_link/1"
                },
                {
                  "name": "cow_link:escape/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "2.20.0",
                  "status": "affected",
                  "version": "2.9.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "cow_link"
              ],
              "packageName": "ninenines/cowlib",
              "packageURL": "pkg:github/ninenines/cowlib",
              "product": "cowlib",
              "programFiles": [
                "src/cow_link.erl"
              ],
              "programRoutines": [
                {
                  "name": "cow_link:link/1"
                },
                {
                  "name": "cow_link:do_link/1"
                },
                {
                  "name": "cow_link:escape/2"
                }
              ],
              "repo": "https://github.com/ninenines/cowlib",
              "vendor": "ninenines",
              "versions": [
                {
                  "lessThan": "89da27ee4c241f5d649ba7d9b7f2188918af6cea",
                  "status": "affected",
                  "version": "485d58dfa91b91d98135dc95e5615f421715dae5",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must pass values that originate from, or can be influenced by, untrusted input into \u003ccode\u003ecow_link:link/1\u003c/code\u003e \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must pass values that originate from, or can be influenced by, untrusted input into `cow_link:link/1` \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
                }
              ],
              "value": "The application must pass values that originate from, or can be influenced by, untrusted input into cow_link:link/1 \u2014 specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.20.0",
                      "versionStartIncluding": "2.9.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Lo\u00efc Hoguin"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in \u003ccode\u003ecow_link:link/1\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ecow_link:do_link/1\u003c/code\u003e in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized \u003ccode\u003eLink:\u003c/code\u003e header value without escaping or token-grammar validation. A \u003ccode\u003e\u0026gt;\u003c/code\u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, \u003ccode\u003e=\u003c/code\u003e, and \u003ccode\u003e\"\u003c/code\u003e \u2014 in an attribute key is emitted verbatim. Because browsers act on \u003ccode\u003eLink:\u003c/code\u003e directives such as \u003ccode\u003erel=\"preconnect\"\u003c/code\u003e, \u003ccode\u003erel=\"preload\"\u003c/code\u003e, and \u003ccode\u003erel=\"prerender\"\u003c/code\u003e, an attacker who can influence these fields in an application that round-trips parsed Link headers through \u003ccode\u003ecow_link:link/1\u003c/code\u003e can force victim browsers to make out-of-band connections to attacker-controlled origins.\u003c/p\u003e\n\u003cp\u003eThis issue affects cowlib: from 2.9.0 before 2.20.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in `cow_link:link/1`.\n\n`cow_link:do_link/1` in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized `Link:` header value without escaping or token-grammar validation. A `\u003e` byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A `\"` or `\\` in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, `=`, and `\"` \u2014 in an attribute key is emitted verbatim. Because browsers act on `Link:` directives such as `rel=\"preconnect\"`, `rel=\"preload\"`, and `rel=\"prerender\"`, an attacker who can influence these fields in an application that round-trips parsed Link headers through `cow_link:link/1` can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
                }
              ],
              "value": "Improper Encoding or Escaping of Output vulnerability in ninenines cowlib allows Link header directive smuggling via unescaped special characters in cow_link:link/1.\n\ncow_link:do_link/1 in cowlib interpolates the target URI, rel value, and attribute keys directly into the serialized Link: header value without escaping or token-grammar validation. A \u003e byte in target prematurely closes the URI slot, allowing an attacker to append additional link entries with attacker-chosen rel directives. A \" or \\ in rel escapes the quoted string and opens new parameters. Any byte \u2014 including whitespace, =, and \" \u2014 in an attribute key is emitted verbatim. Because browsers act on Link: directives such as rel=\"preconnect\", rel=\"preload\", and rel=\"prerender\", an attacker who can influence these fields in an application that round-trips parsed Link headers through cow_link:link/1 can force victim browsers to make out-of-band connections to attacker-controlled origins.\n\nThis issue affects cowlib: from 2.9.0 before 2.20.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-137",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-137 Parameter Injection"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-16T20:24:09.279Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-43971",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-43971.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-43971",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-43971"
            },
            {
              "name": "Introducing commit 485d58d in ninenines/cowlib",
              "tags": [
                "related"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/485d58dfa91b91d98135dc95e5615f421715dae5"
            },
            {
              "name": "Fix commit 89da27e in ninenines/cowlib",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/ninenines/cowlib/commit/89da27ee4c241f5d649ba7d9b7f2188918af6cea"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Link Header Directive Smuggling via Unescaped target/rel/Attribute Keys in cow_link:link/1",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eSanitize values before passing them to \u003ccode\u003ecow_link:link/1\u003c/code\u003e: reject or strip any target value containing \u003ccode\u003e\u0026gt;\u003c/code\u003e, any rel value containing \u003ccode\u003e\"\u003c/code\u003e or \u003ccode\u003e\\\u003c/code\u003e, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Sanitize values before passing them to `cow_link:link/1`: reject or strip any target value containing `\u003e`, any rel value containing `\"` or `\\`, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
                }
              ],
              "value": "Sanitize values before passing them to cow_link:link/1: reject or strip any target value containing \u003e, any rel value containing \" or \\, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-43971",
        "datePublished": "2026-08-18T09:01:53.199Z",
        "dateReserved": "2026-05-04T18:23:25.574Z",
        "dateUpdated": "2026-09-16T20:24:09.279Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Workarounds

CNA · EEF
Sanitize values before passing them to cow_link:link/1: reject or strip any target value containing >, any rel value containing " or \, and any attribute key containing characters outside the HTTP token grammar. Alternatively, ensure all Link entry fields are derived exclusively from trusted, application-controlled values rather than untrusted input.

Configurations

CNA · EEF
The application must pass values that originate from, or can be influenced by, untrusted input into cow_link:link/1 — specifically the target URI, rel value, or attribute keys. Applications that construct Link entries exclusively from trusted, application-controlled values are not affected.

Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.