CVE-2026-112040: Diem CMF open redirect in sign-in authentication

CVE-2026-112040 · Severity: medium · CVSS 4.3 · Published 2026-10-19

Diem is a content management framework for PHP projects. An attacker can trick authenticated users into being redirected to arbitrary external websites after they sign in. This vulnerability could be exploited in phishing attacks to steal credentials or deploy malware by making the redirect appear to come from a trusted login process.

Technologies: Diem-Project Diem. Vendors: Diem-Project.

Quick answers

Is CVE-2026-112040 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-112040 being exploited in the wild.
How severe is CVE-2026-112040?
Medium severity, with a CVSS score of 4.3, published 19 October 2026.
Which products and versions are affected?
Diem-Project Diem up to commit 116974edfb9a5b8bd69cb13586dc62bcdbb485ad.
Is there a fix for CVE-2026-112040?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-112040 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-112040?
Check whether you run Diem-Project Diem at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability exists in the sign-in actions (BasedmUserActions.class.php and BasedmUserAdminActions.class.php) where the HTTP Referer header is accepted without validation and used as a redirect destination after authentication succeeds. An attacker can set a cross-origin Referer header pointing to a malicious site; after the victim authenticates, they are redirected to that attacker-controlled URL. The vulnerability requires user interaction (authentication) but no attacker account.

Affected products

  • diem-project Diem up to commit 116974edfb9a5b8bd69cb13586dc62bcdbb485ad

Timeline

  • 2026-09-30: disclosed: Issue #457 opened
  • 2026-10-19: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.