[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f9m-13xDsWSXWXLj0rZBerT9HnqfFyfFt6ikhDnqg6f0":3,"g5a-risk:CVE-2026-21621":134},{"success":4,"data":5,"meta":131},true,{"cveId":6,"title":7,"description":8,"shortDescription":9,"publishedDate":10,"lastModified":11,"cvssScore":12,"cvssVector":13,"cvssMetrics":14,"epssScore":42,"epssPercentile":29,"epssTimeSeries":43,"severity":45,"affectedProducts":46,"affectedProductsCount":52,"references":53,"referencesCount":75,"weaknesses":76,"weaknessesCount":52,"isActivelyExploited":85,"cisaInfo":29,"otxData":29,"relatedBlogPosts":86,"seoMetadata":87,"configurations":112,"relatedVendorCves":122,"notableEvents":123},"CVE-2026-21621","What is CVE-2026-21621?","Incorrect Authorization vulnerability in hexpm hexpm\u002Fhexpm (HexpmWeb.API.OAuthController module) allows Privilege Escalation.\n\nAn API key created with read-only permissions (domain: \"api\", resource: \"read\") can be escalated to full write access under specific conditions.\n\nWhen exchanging a read-only API key via the OAuth client_credentials grant, the resource qualifier is ignored. The resulting JWT receives the broad \"api\" scope instead of the expected \"api:read\" scope. This token is therefore treated as having full API access.\n\nIf an attacker is able to obtain a victim's read-only API key and a valid 2FA (TOTP) code for the victim account, they can use the incorrectly scoped JWT to create a new full-access API key with unrestricted API permissions that does not expire by default and can perform write operations such as publishing, retiring, or modifying packages.\n\nThis vulnerability is associated with program files lib\u002Fhexpm_web\u002Fcontrollers\u002Fapi\u002Foauth_controller.ex and program routines HexpmWeb.API.OAuthController.validate_scopes_against_key\u002F2.\n\nThis issue affects hex.pm: from 2025-08-18 before 2026-03-05; hexpm\u002Fhexpm: from 71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b before 71c127afebb7ed7cc637eb231b98feb802d62999.","Incorrect Authorization vulnerability in hexpm hexpm\u002Fhexpm (HexpmWeb.API.OAuthController module) allows Privilege Escalation. An API key created with read-on...","2026-03-05T20:16:12.617","2026-11-20T04:17:10.8",7,"CVSS:4.0\u002FAV:N\u002FAC:L\u002FAT:P\u002FPR:L\u002FUI:N\u002FVC:N\u002FVI:H\u002FVA:L\u002FSC:N\u002FSI:H\u002FSA:N\u002FE:X\u002FCR:X\u002FIR:X\u002FAR:X\u002FMAV:X\u002FMAC:X\u002FMAT:X\u002FMPR:X\u002FMUI:X\u002FMVC:X\u002FMVI:X\u002FMVA:X\u002FMSC:X\u002FMSI:X\u002FMSA:X\u002FS:X\u002FAU:X\u002FR:X\u002FV:X\u002FRE:X\u002FU:X",{"CVSSMetricV31":15,"CVSSMetricV30":32,"CVSSMetricV2":33,"CVSSMetricV40":34},[16],{"Source":17,"Type":18,"CVSSData":19,"ExploitabilityScore":30,"ImpactScore":31},"nvd@nist.gov","Primary",{"Version":20,"VectorString":21,"AttackVector":22,"AttackComplexity":23,"PrivilegesRequired":24,"UserInteraction":25,"Scope":26,"ConfidentialityImpact":25,"IntegrityImpact":23,"AvailabilityImpact":25,"BaseScore":27,"BaseSeverity":28,"ExploitCodeMaturity":29,"RemediationLevel":29,"ReportConfidence":29,"TemporalScore":29,"TemporalSeverity":29,"ConfidentialityRequirement":29,"IntegrityRequirement":29,"AvailabilityRequirement":29,"ModifiedAttackVector":29,"ModifiedAttackComplexity":29,"ModifiedPrivilegesRequired":29,"ModifiedUserInteraction":29,"ModifiedScope":29,"ModifiedConfidentialityImpact":29,"ModifiedIntegrityImpact":29,"ModifiedAvailabilityImpact":29,"EnvironmentalScore":29,"EnvironmentalSeverity":29},"3.1","CVSS:3.1\u002FAV:N\u002FAC:H\u002FPR:L\u002FUI:N\u002FS:U\u002FC:N\u002FI:H\u002FA:N","NETWORK","HIGH","LOW","NONE","UNCHANGED",5.3,"MEDIUM",null,1.6,3.6,[],[],[35],{"Source":36,"Type":37,"CVSSData":38},"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","Secondary",{"Version":39,"VectorString":13,"BaseScore":12,"BaseSeverity":23,"AttackVector":22,"AttackComplexity":24,"AttackRequirements":40,"PrivilegesRequired":24,"UserInteraction":25,"VulnConfidentialityImpact":25,"VulnIntegrityImpact":23,"VulnAvailabilityImpact":24,"SubConfidentialityImpact":25,"SubIntegrityImpact":23,"SubAvailabilityImpact":25,"ExploitMaturity":41,"ConfidentialityRequirement":41,"IntegrityRequirement":41,"AvailabilityRequirement":41,"ModifiedAttackVector":41,"ModifiedAttackComplexity":41,"ModifiedAttackRequirements":41,"ModifiedPrivilegesRequired":41,"ModifiedUserInteraction":41,"ModifiedVulnConfidentialityImpact":41,"ModifiedVulnIntegrityImpact":41,"ModifiedVulnAvailabilityImpact":41,"ModifiedSubConfidentialityImpact":41,"ModifiedSubIntegrityImpact":41,"ModifiedSubAvailabilityImpact":41,"Safety":41,"Automatable":41,"Recovery":41,"ValueDensity":41,"VulnerabilityResponseEffort":41,"ProviderUrgency":41},"4.0","PRESENT","NOT_DEFINED",0.00468,[44,44,44,44,44,42,42],0.00375,"High",[47],{"vendor":48,"product":49,"version":50,"criteria":51,"vulnerable":4},"hex","hexpm","*","cpe:2.3:a:hex:hexpm:*:*:*:*:*:*:*:*",1,[54,58,62,66,71],{"url":55,"source":56,"tags":57},"https:\u002F\u002Fcna.erlef.org\u002Fcves\u002FCVE-2026-21621.html","Erlef",[],{"url":59,"source":60,"tags":61},"https:\u002F\u002Fgithub.com\u002Fhexpm\u002Fhexpm\u002Fcommit\u002F71829cb6f6559bcceb1ef4e43a2fb8cdd3af654b","GitHub",[],{"url":63,"source":60,"tags":64},"https:\u002F\u002Fgithub.com\u002Fhexpm\u002Fhexpm\u002Fcommit\u002F71c127afebb7ed7cc637eb231b98feb802d62999",[65],"Patch",{"url":67,"source":60,"tags":68},"https:\u002F\u002Fgithub.com\u002Fhexpm\u002Fhexpm\u002Fsecurity\u002Fadvisories\u002FGHSA-739m-8727-j6w3",[69,70],"Mitigation","Vendor Advisory",{"url":72,"source":73,"tags":74},"https:\u002F\u002Fosv.dev\u002Fvulnerability\u002FEEF-CVE-2026-21621","Osv",[],5,[77],{"id":78,"name":79,"description":80,"extendedDescription":81,"status":82,"abstraction":83,"structure":84},"CWE-863","Incorrect Authorization","The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.","Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user's privileges and any permissions or other access-control specifications that apply to the resource.\nWhen access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.","Incomplete","Class","Simple",false,[],{"title":88,"metaDescription":89,"keywords":90,"canonicalUrl":91,"structuredData":92},"What is CVE-2026-21621? Vulnerability Analysis | Security Advisory | EdgeProtect","Comprehensive analysis of CVE-2026-21621, a high severity cyber security vulnerability from 2026. Incorrect Authorization vulnerability in hexpm hexpm\u002Fhexpm ...","CVE-2026-21621, CVE-2026-21621 vulnerability, CVE-2026-21621 security, high severity vulnerability, cybersecurity, vulnerability analysis, security advisory, CVE database, threat intelligence, security research, vulnerability assessment, cyber threats, 2026, CVSS score, exploit, patch, remediation, hex security, hexpm vulnerability","\u002Fwhat-is\u002Fcve-2026-21621",{"@context":93,"@type":94,"headline":88,"description":89,"datePublished":10,"dateModified":11,"author":95,"publisher":99,"about":103,"mainEntityOfPage":107,"articleSection":110,"keywords":111},"https:\u002F\u002Fschema.org","TechArticle",{"@type":96,"name":97,"url":98},"Organization","EdgeProtect","https:\u002F\u002Fedgeprotect.io",{"@type":96,"name":97,"url":98,"logo":100},{"@type":101,"url":102},"ImageObject","https:\u002F\u002Fedgeprotect.io\u002Fimg\u002Flogos\u002Fedgeprotect-logo-512.png",{"@type":104,"name":6,"description":105,"additionalType":106},"Thing","Cybersecurity Vulnerability","https:\u002F\u002Fschema.org\u002FSoftwareBug",{"@type":108,"@id":109},"WebPage","https:\u002F\u002Fedgeprotect.io\u002Fwhat-is\u002Fcve-2026-21621","Cybersecurity","CVE-2026-21621, CVE-2026-21621 vulnerability, CVE-2026-21621 security, high severity vulnerability, cybersecurity, vulnerability analysis, security advisory, CVE database, threat intelligence, security research",[113],{"Operator":29,"Negate":29,"Nodes":114},[115],{"Operator":116,"Negate":85,"CPEMatch":117},"OR",[118],{"Vulnerable":4,"Criteria":51,"MatchCriteriaID":119,"VersionStartExcluding":29,"VersionStartIncluding":120,"VersionEndExcluding":121,"VersionEndIncluding":29},"C693BC16-457B-49B1-B9C7-99C1BB65EBC8","2025-10-17","2026-03-05",[],[124],{"id":125,"eventType":126,"eventTime":127,"details":128,"label":129,"color":130},"0b5b067d-15d6-4c69-ae00-139786b816cb","NEW_NVD","2026-04-01T11:31:48.592239+00:00","New CVE added to NVD","Published to NVD","blue",{"lastModified":11,"cacheTime":132,"version":133},1795782963433,"2.0",{"score":135,"band":136,"action":137,"scoredAt":138},48,"Medium","Plan remediation","2026-11-27T07:18:13.271945+00:00"]