/

CVE-2026-19980

Severity:

HIGH RISK

(7.4)

Code Injection (CWE-74) in GL.iNet Language Update UI

CVE-2026-19980

Deferred

Vulnerability type

Category:

Code Injection

CWE:

CWE-74, CWE-94

Impact:

Remote Code Execution

Severity:

HIGH RISK

(7.4)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A code injection flaw in the GL.iNet Language Update component allows crafted input to influence code or command processing through the ui.update_langs function. Because the issue can be reached remotely, an attacker who can access the affected interface may execute unauthorized code under the privileges of the router service.

Affected context

The vulnerability affects certain GL.iNet router models running firmware versions up to 4.8.x when the Language Update functionality is exposed and processes the relevant hour, min, or week parameters without adequate neutralization. Exploitability depends on network reachability, interface exposure, and the privileges available to the affected service.

Exploit preconditions

  • Attack surface: The remotely reachable GL.iNet web interface or related Language Update endpoint
  • Required access: Network access to the exposed interface; authentication requirements may depend on deployment configuration
  • Trigger point: Processing of user-controlled hour, min, or week arguments by ui.update_langs
  • Why exploitation is possible: Input is handled in a way that permits injected code to reach an execution-capable processing path

Why this happens

The underlying issue is insufficient separation between untrusted parameter data and executable instructions in the Language Update implementation. This represents CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component, with characteristics also aligning to CWE-94: Improper Control of Generation of Code. The insecure pattern occurs when externally supplied values are incorporated into commands, expressions, or generated code without strict validation and context-appropriate encoding.

Potential impact

  • An attacker could execute code with the privileges of the affected router service
  • Network configuration or device settings could be modified
  • Sensitive device or connected-network information may be accessed
  • The router could be used for persistence, traffic manipulation, or lateral movement
  • Device availability and network reliability could be affected

General mitigation guidance

Mitigation generally focuses on treating all request parameters as untrusted data and removing execution-capable handling from update workflows.

Common defensive patterns include:

  • Restricting accepted parameters to narrowly defined allowlists and expected types
  • Avoiding shell, interpreter, or dynamic-code evaluation when ordinary APIs can perform the operation
  • Applying context-appropriate escaping at every downstream interpreter boundary
  • Enforcing authentication, authorization, and network segmentation for administrative interfaces
  • Running management services with the lowest practical privileges
  • Limiting outbound access and separating router administration from untrusted networks

How teams detect issues like this

Organizations can look for:

  • Static-analysis findings involving string construction passed to shells, interpreters, evaluators, or dynamic execution APIs
  • Code-review signals where request parameters are concatenated into commands or generated expressions
  • Tests that submit unexpected types, delimiters, and boundary values to language-update parameters
  • Web and device logs showing unusual requests to the Language Update functionality or repeated malformed parameter values
  • Policy enforcement that prohibits dynamic execution in request-handling code and requires allowlist validation

Automated security review tools may help identify code-generation and command-construction paths, but findings should be validated against the execution context.

Sources

SourceLink
github.comgithub.com/gl-inet/CVE-issues/blob/main/4.0.0/Language%20Auto-Update%20Cron%20RCE.md
vuldb.comvuldb.com/cve/CVE-2026-19980
vuldb.comvuldb.com/submit/873916
vuldb.comvuldb.com/vuln/391162
vuldb.comvuldb.com/vuln/391162/cti

Frequently asked

questions

Yes, the description indicates that the attack can be initiated remotely. Practical exploitability depends on whether the affected management interface is reachable and what access controls protect it.

The available information does not establish a universal authentication requirement. Access to the exposed Language Update functionality and any required session or administrative privileges should be assessed for each deployment.

Remove execution-capable processing from the update path, validate parameters against strict allowlists, and use dedicated non-interpreting APIs instead of constructing commands or code from request data.

Apply secure input-handling standards, prohibit dynamic evaluation in request handlers, use least-privilege service accounts, and combine code review with automated testing and network access controls.

Find out what's already
exploitable in your codebase.