{
  "id": "CVE-2026-104356",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-104356",
  "published_at": "2026-10-01T21:21:45.992Z",
  "title": "PictShare \u003c 3.7.1 Predictable Delete Code via rand()",
  "vendor": "HaschekSolutions",
  "product": "pictshare",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-02T09:02:17Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.5,
    "repo": "wvllxe/CVE-2026-104356-pictshare-weak-delete-code",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "PictShare before version 3.7.1 contains a weak randomness vulnerability where the getRandomString() function uses the non-cryptographic rand() PRNG to generate the delete_code authorization token in src/inc/core.php. Attackers can predict or infer the PRNG state to guess valid delete_code values and perform unauthorized deletion of hosted files without needing to read the code from the info endpoint.",
  "cwe": "CWE-338",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [
    {
      "repo": "wvllxe/CVE-2026-104356-pictshare-weak-delete-code",
      "url": "https://github.com/wvllxe/CVE-2026-104356-pictshare-weak-delete-code",
      "created_at": "2026-10-02T09:02:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-01-23T08:03:33Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "HaschekSolutions",
        "product": "pictshare",
        "ranges": [
          "\u003e= 2.0.0, \u003c 3.7.1"
        ],
        "fixed_in": [
          "3.7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pictshare to 3.7.1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/HaschekSolutions/pictshare/commit/ce5fc474e89769efeae25fee763894bcce3412e3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/HaschekSolutions/pictshare/releases/tag/v3.7.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
