Pyramid vulnerable to directory traversal


Pyramid provided by Pylons Project contains a directory traversal vulnerability.

Masashi Yamane of LAC Co., Ltd. reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V3 Severity:
Base Metrics 3.7 (Low) [IPA Score]
  • Attack Vector: Network
  • Attack Complexity: High
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: None
  • Availability Impact: None
CVSS V2 Severity:
Base Metrics 4.3 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: None
  • Confidentiality Impact: Partial
  • Integrity Impact: None
  • Availability Impact: None
Affected Products

Applications created with the following versions of Pyramid are affected when they are deployed with Python 3.11.0 to 3.11.4:

  • Pyramid versions 2.0.0 and 2.0.1


index.html located one directory above the location of the static view's file system path can be accessed via a crafted request.

[Update the software]
Update the software according to the information provided by the developer.

For more information, refer to the information provided by the developer.
Vendor Information

CWE (What is CWE?)

  1. Path Traversal(CWE-22) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2023-40587

  1. JVN : JVN#41113329
  2. National Vulnerability Database (NVD) : CVE-2023-40587
  3. Related document : GHSA-65fx-pmw6-rcfm: CVE-2023-41105
Revision History

  • [2023/09/11]
      Web page was published
  • [2024/05/16]
      References : Content was added