{
  "id": "CVE-2026-30940",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-30940",
  "published_at": "2026-03-31T00:45:35.177Z",
  "title": "baserCMS: Path Traversal in Theme File API Leads to Arbitrary File Write and RCE",
  "vendor": "baserproject",
  "product": "basercms",
  "cvss": {
    "score": 7.2,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-24T09:26:53Z",
    "first_seen_at": "2026-11-24T09:54:51.868Z",
    "days_after_publication": 238.4,
    "repo": "googlesky/CVE-2026-30940",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "baserCMS is a website development framework. Prior to version 5.2.3, a path traversal vulnerability exists in the theme file management API (/baser/api/admin/bc-theme-file/theme_files/add.json) that allows arbitrary file write. An authenticated administrator can include ../ sequences in the path parameter to create a PHP file in an arbitrary directory outside the theme directory, which may result in remote code execution (RCE). This issue has been patched in version 5.2.3.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:basercms:basercms:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.2
  },
  "repos": [
    {
      "repo": "googlesky/CVE-2026-62955",
      "url": "https://github.com/googlesky/CVE-2026-62955",
      "created_at": "2026-11-20T03:19:46Z",
      "first_seen_at": "2026-11-20T03:30:27.488Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    },
    {
      "repo": "googlesky/CVE-2026-30940",
      "url": "https://github.com/googlesky/CVE-2026-30940",
      "created_at": "2026-11-24T09:26:53Z",
      "first_seen_at": "2026-11-24T09:54:51.868Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-04-08T15:16:09Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "baserproject",
        "product": "basercms",
        "ranges": [
          "\u003c 5.2.3"
        ],
        "fixed_in": [
          "5.2.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade basercms to 5.2.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/baserproject/basercms/security/advisories/GHSA-c5c6-37vq-pjcq"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/baserproject/basercms/releases/tag/5.2.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
