CVE-2026-40889 Frappe HR has Improper Access Control on Files

Medium 6.5 Published Updated

Authenticated users can access unauthorized files via API endpoints in Frappe HR, requiring a patch to enforce proper access controls.

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-40889?

CVE-2026-40889 is a medium-severity missing authorization vulnerability in frappe hrms, published on 21 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Frappe HR is an open-source human resources management solution (HRMS). Prior to versions 15.58.2 and 16.4.2, authenticated users can access unauthorized files by exploiting certain api endpoint. Versions 15.58.2 and 16.4.2 contain a patch. No known workarounds are available.

Weakness: CWE-284

Which versions are affected by CVE-2026-40889?

It affects 1 product.

Products include Frappe Frappe Hr.

How do I fix CVE-2026-40889?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-40889 being exploited?

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

Sources

Also known as GHSA-6cg5-4q6m-vrgm.

Is CVE-2026-40889 in your software?

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

Check your SBOMs for free