CVE-2026-62948: OpenWrt odhcpd/LuCI: unauthenticated DHCPv6 client can inject lease-file lines via FQDN hostname → stored XSS in the LuCI admin UI

Published Jul 15, 2026
·
Updated

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/40dhcp.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.

Affected Software

2 affected components
OpenWrt OpenWrt<25.12.5
OpenWrt OpenWrt<25.12.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OpenWrt odhcpd/LuCI to a version that resolves this vulnerability.

    Fixed in 25.12.5

Event History

Jul 15, 2026
CVE Published
via MITRE·05:50 PM
Data Sourced
via MITRE·05:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-62948?

CVE-2026-62948 has a severity score of 9.6, which is classified as critical.

2

How do I fix CVE-2026-62948?

To fix CVE-2026-62948, upgrade your OpenWrt installation to version 25.12.5 or later.

3

What type of vulnerability is CVE-2026-62948?

CVE-2026-62948 is an unauthenticated stored XSS vulnerability in the LuCI admin UI.

4

What impact does CVE-2026-62948 have on systems?

CVE-2026-62948 allows an attacker to inject forged lease-file lines, leading to potential XSS exploitation.

5

Who is affected by CVE-2026-62948?

CVE-2026-62948 affects users of OpenWrt versions prior to 25.12.5 that utilize the odhcpd DHCPv6 client.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203