CVE-2026-40503 OpenHarness Path Traversal Information Disclosure via /memory show

High 7.1 Published Updated

Remote users can read arbitrary files via path traversal in the /memory show command, exposing sensitive data to attackers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-40503?

CVE-2026-40503 is a high-severity path traversal vulnerability in HKUDS OpenHarness, published on 16 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenHarness prior to commit dd1d235 contains a path traversal vulnerability that allows remote gateway users with chat access to read arbitrary files by supplying path traversal sequences to the /memory show slash command. Attackers can manipulate the path input parameter to escape the project memory directory and access sensitive files accessible to the OpenHarness process without filesystem containment validation.

Weakness: CWE-22

Which versions are affected by CVE-2026-40503?

It affects 1 product.

Products include Hkuds Openharness.

How do I fix CVE-2026-40503?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-40503 being exploited?

There is no known exploitation of CVE-2026-40503 in the wild and no public exploit code.

Sources

Also known as GHSA-fwhx-4vqr-m9gj.

Is CVE-2026-40503 in your software?

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

Check your SBOMs for free