{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.2.16"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "7630d321d7de18d72c0ba107f105ad94dc5cd0e1"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v0.2.16",
                "range": [
                  {
                    "fixed": "5ed545f11588b71778f91c0fb4dda93aa0235e80"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5ed545f11588b71778f91c0fb4dda93aa0235e80"
            },
            {
              "fixed": "7630d321d7de18d72c0ba107f105ad94dc5cd0e1"
            }
          ],
          "repo": "https://github.com/erugooss/erugo",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142298.json"
  },
  "details": "Erugo before 0.2.16 contains a missing authorization vulnerability in the settings read API that allows any authenticated non-admin user to read administrator-only settings. Attackers, including guests with reverse-share invitation tokens, can request GET /api/settings/group/system.smtp or keys like smtp_password to obtain plaintext SMTP credentials and send mail through the instance's server.",
  "id": "CVE-2026-142298",
  "modified": "2026-12-02T17:45:19.517721407Z",
  "published": "2026-12-02T16:48:56.238Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142298.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ErugoOSS/Erugo"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ErugoOSS/Erugo/blob/v0.2.15/app/Http/Controllers/SettingsController.php#L67-L106"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ErugoOSS/Erugo/blob/v0.2.15/routes/api.php#L112-L117"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ErugoOSS/Erugo/commit/7630d321d7de18d72c0ba107f105ad94dc5cd0e1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ErugoOSS/Erugo/pull/273"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/ErugoOSS/Erugo/releases/tag/v0.2.16"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142298"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/erugo-before-0.2.16-missing-authorization-via-settings-read-api"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Erugo before 0.2.16 Missing Authorization via Settings Read API"
}