{
  "id": "CVE-2026-39393",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-39393",
  "published_at": "2026-04-08T14:31:44.692Z",
  "title": "Post-Installation Re-entry via Cache-Dependent Install Guard Bypass in ci4ms",
  "vendor": "ci4-cms-erp",
  "product": "ci4ms",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. Prior to 0.31.4.0, the install route guard in ci4ms relies solely on a volatile cache check (cache('settings')) combined with .env file existence to block post-installation access to the setup wizard. When the database is temporarily unreachable during a cache miss (TTL expiry or admin-triggered cache clear), the guard fails open, allowing an unauthenticated attacker to overwrite the .env file with attacker-controlled database credentials, achieving full application takeover. This vulnerability is fixed in 0.31.4.0.",
  "cwe": "CWE-306",
  "cpes": [
    "cpe:2.3:a:ci4-cms-erp:ci4ms:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1,
    "nvd": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ci4-cms-erp",
        "product": "ci4ms",
        "ranges": [
          "\u003c 0.31.4.0"
        ],
        "fixed_in": [
          "0.31.4.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ci4ms to 0.31.4.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ci4-cms-erp/ci4ms/security/advisories/GHSA-8rh5-4mvx-xj7j"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
