CVE-2025-1731 Privilege escalation in USG FLEX H series uOS firmware

High 7.8 Published Updated

Authenticated low-privilege users can escalate to administrator access and execute code via incorrect permission assignments in Zyxel USG FLEX H firmware.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-1731?

CVE-2025-1731 is a high-severity vulnerability in Zyxel USG FLEX H series uOS firmware, published on 22 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An incorrect permission assignment vulnerability in the PostgreSQL commands of the Zyxel USG FLEX H series uOS firmware versions from V1.20 through V1.31 could allow an authenticated local attacker with low privileges to gain access to the Linux shell and escalate their privileges by crafting malicious scripts or modifying system configurations with administrator-level access through a stolen token. Modifying the system configuration is only possible if the administrator has not logged out and the token remains valid.

Weakness: CWE-732

Which versions are affected by CVE-2025-1731?

It affects 1 product.

Products include Zyxel Uos.

How do I fix CVE-2025-1731?

No fix has been published for CVE-2025-1731 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-1731 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1731 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-2w3x-653c-q4pc.

Is CVE-2025-1731 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free