← Back to CVE Explorer

CVE-2026-71242

Full vulnerability record from the local CVENow database.

Description

Crater's NotePolicy checks only a blanket Bouncer ability (manage-all-notes / view-all-notes) with no company-ownership comparison, unlike InvoicePolicy and other sibling policies which additionally verify ->hasCompany(->company_id). Any authenticated user of one company can read, edit, or delete another company's notes by ID.

Severity
HIGH
CVSS score
8.3 (v3.1)
Vulnerability status
Deferred
Source identifier
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Published
2026-08-05 11:16:27.123000
Last modified
2026-10-24 15:10:00.190000
View original CVE JSON
{
  "id": "CVE-2026-71242",
  "sourceIdentifier": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
  "published": "2026-08-05T11:16:27.123",
  "lastModified": "2026-10-24T15:10:00.190",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Crater's NotePolicy checks only a blanket Bouncer ability (manage-all-notes / view-all-notes) with no company-ownership comparison, unlike InvoicePolicy and other sibling policies which additionally verify ->hasCompany(->company_id). Any authenticated user of one company can read, edit, or delete another company's notes by ID."
    },
    {
      "lang": "es",
      "value": "La NotePolicy de Crater solo verifica una habilidad general de Bouncer (manage-all-notes / view-all-notes) sin comparación de propiedad de la empresa, a diferencia de InvoicePolicy y otras políticas hermanas que verifican adicionalmente $user  -mayor que  hasCompany($model  -mayor que  company_id). Las acciones show(), update() y destroy() de NotesController autorizan a través de $this  -mayor que  authorize(’view notes’/’manage notes’) sin pasar el modelo Note objetivo, y el alcance por empresa de Note (scopeWhereCompany) se aplica solo en el endpoint de lista, no en show/update/destroy. Cualquier usuario autenticado de una empresa puede leer, editar o eliminar las notas de otra empresa por ID. Este es un hallazgo distinto de la omisión de propiedad de la empresa de CustomerPolicy reportada previamente (una clase de política y un controlador diferentes)."
    }
  ],
  "affected": [
    {
      "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
      "affectedData": [
        {
          "vendor": "crater-invoice",
          "product": "crater",
          "defaultStatus": "unknown",
          "programFiles": [
            "app/Policies/NotePolicy.php",
            "app/Http/Controllers/V1/Admin/General/NotesController.php"
          ],
          "versions": [
            {
              "version": "6.0.6",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
          "baseScore": 8.3,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.5
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-08-05T12:52:14.504719Z",
          "id": "CVE-2026-71242",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-639"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/crater-invoice/crater",
      "source": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c"
    }
  ]
}