Skip to content
Heist/ feed
Back to feed
High

RELATE: Predictable Token Generation in auth.py and exam.py

Type: advisorySources: OSV

RELATE is a web-based courseware package. Prior to commit 2f68e16, RELATE is vulnerable to predictable token generation in auth.py's make_sign_in_key() function and exam.py's gen_ticket_code() function. This issue has been patched via commit 2f68e16.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-41505
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:32 UTC · Revision 1

Source evidence

RELATE: Predictable Token Generation in auth.py and exam.py

core-osv · Original source

Published 7 May 2026, 13:35 UTC

RELATE is a web-based courseware package. Prior to commit 2f68e16, RELATE is vulnerable to predictable token generation in auth.py's make_sign_in_key() function and exam.py's gen_ticket_code() function. This issue has been patched via commit 2f68e16.

osv:CVE-2026-41505
Complete source record
{
  "id": "406158e5110ba05c414ec44a2b21e284e8cae37dea22d52b056edc4a628db4f1",
  "url": "https://osv.dev/vulnerability/CVE-2026-41505",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RELATE: Predictable Token Generation in auth.py and exam.py",
    "summary": "RELATE is a web-based courseware package. Prior to commit 2f68e16, RELATE is vulnerable to predictable token generation in auth.py's make_sign_in_key() function and exam.py's gen_ticket_code() function. This issue has been patched via commit 2f68e16.",
    "evidence": "osv:CVE-2026-41505",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-41505",
      "aliases": [
        "CVE-2026-41505",
        "GHSA-rvx5-95mm-p77v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/inducer/relate",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-41505.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.778199065Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41505.json",
        "https://github.com/inducer/relate/security/advisories/GHSA-rvx5-95mm-p77v",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-41505",
        "https://github.com/inducer/relate/commit/2f68e16cd3b96d25c188c1aa3f7e13cdb15cdaeb"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-330",
          "CWE-338"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41505.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-41505",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521811,
  "published_at": "2026-05-07T13:35:02.351+00:00"
}