{"id":"CVE-2026-44794","aliases":["CVE-2026-44794","GHSA-wpxj-44w3-2j6x","PYSEC-2026-2225"],"related":[],"kind":"vulnerability","state":"published","title":"Nautobot: REST API permits creation of GenericForeignKey references to objects that the user should not be able to reference","summary":"Nautobot is a Network Source of Truth and Network Automation Platform. Prior to 2.4.33 and 3.1.2, in the case of inter-object references via GenericForeignKey (a pattern allowing an object to reference another object that may belong to one of several different \"content types\" or database tables), when creating or updating an object containing a GenericForeignKey, Nautobot's REST API failed to enforce user \"view\" permissions when determining whether a given reference to another object would be valid. This vulnerability is fixed in 2.4.33 and 3.1.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nautobot is a Network Source of Truth and Network Automation Platform. Prior to 2.4.33 and 3.1.2, in the case of inter-object references via GenericForeignKey (a pattern allowing an object to reference another object that may belong to one of several different \"content types\" or database tables), when creating or updating an object containing a GenericForeignKey, Nautobot's REST API failed to enforce user \"view\" permissions when determining whether a given reference to another object would be valid. This vulnerability is fixed in 2.4.33 and 3.1.2.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nIn the case of inter-object references via `GenericForeignKey` (a pattern allowing an object to reference another object that may belong to one of several different \"content types\" or database tables), when creating or updating an object containing a `GenericForeignKey`, Nautobot's REST API failed to enforce user \"view\" permissions when determining whether a given reference to another object would be valid. \n\nAs a concrete example, a user:\n\n- who has permission to create or update `ImageAttachment` records\n- but who lacks permission to view (some or all) `Device` records\n- _but who knows (via some other mechanism) the UUID of a specific `Device` that they do not otherwise have access to_\n\ncould create via the REST API an `ImageAttachment` linked to that specific `Device`.\n\nOther models that use `GenericForeignKey` and may be writable via the REST API, and hence have a similar vulnerability to `ImageAttachment`, may include:\n\n- `ApprovalWorkflow`\n- `Cable`\n- `ConfigContext`\n- `ContactAssociation`\n- `DataCompliance`\n- `Device`\n- `ExportTemplate`\n- `GraphQLQuery`\n- `Note`\n- `ObjectMetadata`\n- `RelationshipAssociation`\n- `StaticGroupAssociation`\n- `VirtualMachine`\n\nAdditionally, any Nautobot Apps that provide models with a REST API and use GenericForeignKey may have a similar vulnerability for their models.\n\n### Patches\n\nA general-purpose fix has been implemented in Nautobot 2.4.33 and 3.1.2, which ensures correct application of \"view\" permissions when creating or modifying object references via `GenericForeignKey` throughout the REST API. Individual models/views/serializers generally will not require any specific code changes to benefit from this fix.\n\n### Workarounds\n\nNo known workarounds at this time.\n\n### References\n\n- 2.4.33 (<a href=\"https://github.com/nautobot/nautobot/commit/9918bdb9bcf1eb42cda72c344f420a64ef7665f1\">patch</a>)\n- 3.1.2 (<a href=\"https://github.com/nautobot/nautobot/commit/36cde7148a207234de6212ec074f321dbc9d1b5b\">patch</a>)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Nautobot es una Fuente de Verdad de Red y Plataforma de Automatización de Red. Antes de las versiones 2.4.33 y 3.1.2, en el caso de referencias entre objetos a través de GenericForeignKey (un patrón que permite a un objeto referenciar a otro objeto que puede pertenecer a uno de varios 'tipos de contenido' diferentes o tablas de base de datos), al crear o actualizar un objeto que contiene una GenericForeignKey, la API REST de Nautobot no aplicaba los permisos de 'vista' del usuario al determinar si una referencia dada a otro objeto sería válida. Esta vulnerabilidad está corregida en las versiones 2.4.33 y 3.1.2.","source":"nvd"}],"published":"2026-05-13T15:30:46.000Z","modified":"2026-10-14T20:10:00.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":">= 3.0.0a2, < 3.1.2","status":"affected"},{"version":"< 2.4.33","status":"affected"}],"vendor":"nautobot","product":"nautobot","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0a2","status":"affected","fixed":"3.1.2"}],"ecosystem":"PyPI","package":"nautobot","purl":"pkg:pypi/nautobot","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4.33"}],"ecosystem":"PyPI","package":"nautobot","purl":"pkg:pypi/nautobot","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.4.33"},{"status":"affected","introduced":"3.0.0","fixed":"3.1.2"}],"vendor":"networktocode","product":"nautobot","cpe":"cpe:2.3:a:networktocode:nautobot:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4.33"},{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.1.2"}],"ecosystem":"PyPI","package":"nautobot","purl":"pkg:pypi/nautobot","source":"pysec"}],"references":[{"url":"https://github.com/nautobot/nautobot/security/advisories/GHSA-wpxj-44w3-2j6x","tags":["fix","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nautobot/nautobot/commit/36cde7148a207234de6212ec074f321dbc9d1b5b","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nautobot/nautobot/commit/9918bdb9bcf1eb42cda72c344f420a64ef7665f1","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nautobot/nautobot/releases/tag/v2.4.33","tags":["advisory","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nautobot/nautobot/releases/tag/v3.1.2","tags":["advisory","product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44794","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nautobot/nautobot","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-30T02:02:38.997Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44794","url":"https://www.cve.org/CVERecord?id=CVE-2026-44794","licence":"CVE Terms of Use","modified":"2026-05-30T02:02:47.815Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wpxj-44w3-2j6x","url":"https://github.com/advisories/GHSA-wpxj-44w3-2j6x","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:41.685Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44794","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44794","licence":"Public domain","modified":"2026-10-14T20:10:00.190Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2225","url":"https://osv.dev/vulnerability/PYSEC-2026-2225","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:37.257Z"}],"updatedAt":"2026-11-25T22:59:22.980Z","epss":{"score":0.00177,"percentile":0.07618,"date":"2026-12-01T12:00:22.000Z"}}