CVE-2026-42195: Unvalidated gitlab URL parameter redirects OAuth authorize step to attacker-controlled host

Published May 8, 2026
·
Updated

draw.io is a configurable diagramming and whiteboarding application. Prior to version 29.7.9, the draw.io client accepts a ?gitlab= URL parameter that overrides the GitLab server URL used during OAuth sign-in. A crafted link causes the user's click on draw.io's "Authorize in GitLab" dialog to open a popup on the attacker-controlled host instead of gitlab.com. This can lead to credential fishing and session state token exfiltration. This issue has been patched in version 29.7.9.

Affected Software

1 affected component
diagrams.net draw.io<29.7.9

Event History

May 8, 2026
CVE Published
via MITRE·09:22 PM
Data Sourced
via MITRE·09:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-42195?

CVE-2026-42195 has been classified as a high-severity vulnerability due to the potential for unauthorized access during OAuth authentication.

2

How do I fix CVE-2026-42195?

To mitigate CVE-2026-42195, users should upgrade to draw.io version 29.7.9 or later to ensure the unsafe URL parameter is no longer accepted.

3

What systems are affected by CVE-2026-42195?

CVE-2026-42195 affects the draw.io application versions prior to 29.7.9.

4

What impact does CVE-2026-42195 have on users?

CVE-2026-42195 allows attackers to redirect users to malicious sites during the OAuth authorization process, potentially leading to credential theft.

5

What should organizations do regarding CVE-2026-42195?

Organizations should review their use of draw.io and ensure that they are on version 29.7.9 or later to avoid exploitation of CVE-2026-42195.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203