CVE-2026-62948

Source
https://cve.org/CVERecord?id=CVE-2026-62948
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62948.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62948
Aliases
  • GHSA-hhmc-92hw-535f
Published
2026-07-15T17:50:43.790Z
Modified
2026-07-22T03:49:52.052454Z
Severity
  • 9.6 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI
Details

OpenWrt is a Linux operating system targeting embedded devices. Prior to 25.12.5, odhcpd writes a DHCPv6 client FQDN option 39 hostname into /tmp/odhcpd.leases through src/statefiles.c statefileswritestate6() and statefileswritestate4() without escaping, allowing newline injection of forged lease lines that LuCI rpcd-mod-luci getDHCPLeases displays through htdocs/luci-static/resources/view/status/include/40_dhcp.js and htdocs/luci-static/resources/luci.js dom.append as live HTML in the Active DHCPv6 Leases admin page. This vulnerability is fixed in 25.12.5.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62948.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-117",
        "CWE-150",
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/openwrt/luci

Affected ranges

Type
GIT
Repo
https://github.com/openwrt/luci
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}
Type
GIT
Repo
https://github.com/openwrt/odhcpd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}
Type
GIT
Repo
https://github.com/openwrt/openwrt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "25.12.5"
        }
    ]
}

Affected versions

Other
reboot
v25.*
v25.12.0
v25.12.0-rc1
v25.12.0-rc2
v25.12.0-rc3
v25.12.0-rc4
v25.12.0-rc5
v25.12.1
v25.12.2
v25.12.3
v25.12.4

Database specific

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "222199056557108100412948030197406158274",
                "179951072711141737501673157033915307745",
                "48835114850316979340087807439325385449",
                "245224250924620970701387765855088283209",
                "110222455626083028841038589741473283398",
                "95903326584314967842773648666088372354",
                "82832356609876502096747738431575101449",
                "82584690780047370019648044612504933407",
                "56714378486760030174905488444565544130",
                "62146115244480036161070870116018134560",
                "267303806260021675208143748746349505373",
                "334272644550395447436825271068027852572",
                "103650148878138585015664861531389709141",
                "168876642837305772516827685731459179411",
                "137726075882607834738509062146406291521",
                "121744179478910298403968167831348063244",
                "56714378486760030174905488444565544130",
                "62146115244480036161070870116018134560"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a",
        "signature_type": "Line",
        "target": {
            "file": "src/statefiles.c"
        },
        "id": "CVE-2026-62948-046d84d8",
        "deprecated": false
    },
    {
        "digest": {
            "length": 870.0,
            "function_hash": "219921854696407551311078231888675570542"
        },
        "signature_version": "v1",
        "source": "https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a",
        "signature_type": "Function",
        "target": {
            "function": "statefiles_write_state4",
            "file": "src/statefiles.c"
        },
        "id": "CVE-2026-62948-05dcb415",
        "deprecated": false
    },
    {
        "digest": {
            "length": 865.0,
            "function_hash": "26085049810060182175915558190858673815"
        },
        "signature_version": "v1",
        "source": "https://github.com/openwrt/odhcpd/commit/68f382690bfaec56d5b1f31c3c31c48bcb642e3a",
        "signature_type": "Function",
        "target": {
            "function": "statefiles_write_state6",
            "file": "src/statefiles.c"
        },
        "id": "CVE-2026-62948-ced7109f",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-22T03:49:52Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62948.json"