{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.1.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cb9b7ad9da0243bd105809f6a4a8a6b9147c71ea"
            },
            {
              "fixed": "498357b4336d7d534a56b9db3b1c0bf0360efeec"
            }
          ],
          "repo": "https://github.com/librebooking/librebooking",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "cisa-cg",
    "cwe_ids": [
      "CWE-23"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61343.json"
  },
  "details": "LibreBooking's email template editor save action passes the submitted template name directly into the destination file path, allowing a remote attacker with administrator credentials to write an arbitrary file outside the template directory and execute code. Fixed in 5.1.0.",
  "id": "CVE-2026-61343",
  "modified": "2026-08-12T03:51:25.457435166Z",
  "published": "2026-07-09T17:46:05.221Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61343.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/LibreBooking/librebooking/releases/tag/v5.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-61343"
    },
    {
      "type": "ADVISORY",
      "url": "https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-190-01.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-61343"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LibreBooking/librebooking/commit/cb9b7ad9da0243bd105809f6a4a8a6b9147c71ea"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LibreBooking/librebooking/pull/1456"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "LibreBooking path traversal"
}