Vulnerabilities

CVE-2026-107399

Medium 6.8 CVSS 3.1

Description

The Mechanize library is used for automating interaction with websites. Prior to 2.14.1, Mechanize applies no origin trust boundary in Mechanize::HTTP::Agent#response_follow_meta_refresh when Mechanize#follow_meta_refresh is enabled. A page containing a meta refresh to another origin causes headers configured through Mechanize#request_headers= to be reapplied to the refresh request, allowing an attacker who controls content in the crawl to capture bearer tokens or session cookies. The default configuration is not affected because follow_meta_refresh is false, and the exposure is limited to caller-supplied default headers. This issue is fixed in version 2.14.1.

Description as published by the source, in English.

Key facts

Published
2026-10-08
Last modified
2026-10-14
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Scored by
security-advisories@github.com
Fix available
Not registered in the sources

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1007: System Service Discovery discovery
  • T1016: System Network Configuration Discovery discovery
  • T1018: Remote System Discovery discovery
  • T1021: Remote Services lateral-movement
  • T1021.002: SMB/Windows Admin Shares lateral-movement
  • T1033: System Owner/User Discovery discovery
  • T1036.005: Match Legitimate Resource Name or Location stealth
  • T1046: Network Service Discovery discovery
  • T1049: System Network Connections Discovery discovery
  • T1057: Process Discovery discovery
  • T1069: Permission Groups Discovery discovery
  • T1078: Valid Accounts stealth, persistence, privilege-escalation, initial-access
  • T1082: System Information Discovery discovery
  • T1083: File and Directory Discovery discovery
  • T1087: Account Discovery discovery
  • T1110.004: Credential Stuffing credential-access
  • T1111: Multi-Factor Authentication Interception credential-access
  • T1114.002: Remote Email Collection collection
  • T1120: Peripheral Device Discovery discovery
  • T1124: System Time Discovery discovery

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities