CVE-2026-22588 (GCVE-0-2026-22588)

Vulnerability from cvelistv5 – Published: 2026-01-08 20:53 – Updated: 2026-01-08 21:08
VLAI?
Title
Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification
Summary
Spree is an open source e-commerce solution built with Ruby on Rails. Prior to versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5, an Authenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an authenticated user to retrieve other users’ address information by modifying an existing order. By editing an order they legitimately own and manipulating address identifiers in the request, the backend server accepts and processes references to addresses belonging to other users, subsequently associating those addresses with the attacker’s order and returning them in the response. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5.
CWE
  • CWE-639 - Authorization Bypass Through User-Controlled Key
Assigner
Impacted products
Vendor Product Version
spree spree Affected: >= 5.2.0, < 5.2.5
Affected: >= 5.1.0, < 5.1.9
Affected: >= 5.0.0, < 5.0.7
Affected: < 4.10.2
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-22588",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-08T21:08:29.340173Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-08T21:08:53.049Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "spree",
          "vendor": "spree",
          "versions": [
            {
              "status": "affected",
              "version": "\u003e= 5.2.0, \u003c 5.2.5"
            },
            {
              "status": "affected",
              "version": "\u003e= 5.1.0, \u003c 5.1.9"
            },
            {
              "status": "affected",
              "version": "\u003e= 5.0.0, \u003c 5.0.7"
            },
            {
              "status": "affected",
              "version": "\u003c 4.10.2"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Spree is an open source e-commerce solution built with Ruby on Rails. Prior to versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5, an Authenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an authenticated user to retrieve other users\u2019 address information by modifying an existing order. By editing an order they legitimately own and manipulating address identifiers in the request, the backend server accepts and processes references to addresses belonging to other users, subsequently associating those addresses with the attacker\u2019s order and returning them in the response. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-639",
              "description": "CWE-639: Authorization Bypass Through User-Controlled Key",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-08T20:53:37.110Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j"
        },
        {
          "name": "https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72"
        },
        {
          "name": "https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3"
        },
        {
          "name": "https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8"
        },
        {
          "name": "https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7"
        }
      ],
      "source": {
        "advisory": "GHSA-g268-72p7-9j6j",
        "discovery": "UNKNOWN"
      },
      "title": "Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-22588",
    "datePublished": "2026-01-08T20:53:37.110Z",
    "dateReserved": "2026-01-07T21:50:39.531Z",
    "dateUpdated": "2026-01-08T21:08:53.049Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-22588\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-01-08T21:15:44.560\",\"lastModified\":\"2026-01-08T21:15:44.560\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Spree is an open source e-commerce solution built with Ruby on Rails. Prior to versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5, an Authenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an authenticated user to retrieve other users\u2019 address information by modifying an existing order. By editing an order they legitimately own and manipulating address identifiers in the request, the backend server accepts and processes references to addresses belonging to other users, subsequently associating those addresses with the attacker\u2019s order and returning them in the response. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-639\"}]}],\"references\":[{\"url\":\"https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j\",\"source\":\"security-advisories@github.com\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-22588\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-08T21:08:29.340173Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-08T21:08:40.336Z\"}}], \"cna\": {\"title\": \"Spree API has Authenticated Insecure Direct Object Reference (IDOR) via Order Modification\", \"source\": {\"advisory\": \"GHSA-g268-72p7-9j6j\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 6.5, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"NONE\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"spree\", \"product\": \"spree\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003e= 5.2.0, \u003c 5.2.5\"}, {\"status\": \"affected\", \"version\": \"\u003e= 5.1.0, \u003c 5.1.9\"}, {\"status\": \"affected\", \"version\": \"\u003e= 5.0.0, \u003c 5.0.7\"}, {\"status\": \"affected\", \"version\": \"\u003c 4.10.2\"}]}], \"references\": [{\"url\": \"https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j\", \"name\": \"https://github.com/spree/spree/security/advisories/GHSA-g268-72p7-9j6j\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72\", \"name\": \"https://github.com/spree/spree/commit/02acabdce2c5f14fd687335b068d901a957a7e72\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3\", \"name\": \"https://github.com/spree/spree/commit/17e78a91b736b49dbea8d1bb1223c284383ee5f3\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8\", \"name\": \"https://github.com/spree/spree/commit/b409c0fd327e7ce37f63238894670d07079eefe8\", \"tags\": [\"x_refsource_MISC\"]}, {\"url\": \"https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7\", \"name\": \"https://github.com/spree/spree/commit/d3f961c442e0015661535cbd6eb22475f76d2dc7\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Spree is an open source e-commerce solution built with Ruby on Rails. Prior to versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5, an Authenticated Insecure Direct Object Reference (IDOR) vulnerability was identified that allows an authenticated user to retrieve other users\\u2019 address information by modifying an existing order. By editing an order they legitimately own and manipulating address identifiers in the request, the backend server accepts and processes references to addresses belonging to other users, subsequently associating those addresses with the attacker\\u2019s order and returning them in the response. This issue has been patched in versions 4.10.2, 5.0.7, 5.1.9, and 5.2.5.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-639\", \"description\": \"CWE-639: Authorization Bypass Through User-Controlled Key\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-01-08T20:53:37.110Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-22588\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-08T21:08:53.049Z\", \"dateReserved\": \"2026-01-07T21:50:39.531Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2026-01-08T20:53:37.110Z\", \"assignerShortName\": \"GitHub_M\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…