{"id":"CVE-2026-43828","state":"PUBLISHED","title":"Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default","description":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\n\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default.","publishedAt":"2026-05-25T20:19:26.227Z","updatedAt":"2026-05-26T12:38:38.399Z","severity":{"score":5.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber","source":"apache"},"assigner":"apache","products":["Apache Software Foundation Apache Shiro"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-web","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","lessThanOrEqual":"2.1.0","versionType":"semver"},{"version":"3.0.0-alpha-0","status":"affected","lessThanOrEqual":"3.0.0-alpha-1","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://shiro.apache.org/security-reports.html#cve_2026_43828","http://www.openwall.com/lists/oss-security/2026/05/25/7"],"weaknesses":["CWE-614"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43828.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43828","state":"PUBLISHED","datePublished":"2026-05-25T20:19:26.227Z","dateUpdated":"2026-05-26T12:38:38.399Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2026-05-03T19:25:59.025Z"},"containers":{"cna":{"title":"Apache Shiro: Shiro's native session and rememberMe cookies do not have secure flag set by default","descriptions":[{"lang":"en","value":"Default configurations of Apache Shiro send sensitive cookies in HTTPS session without 'Secure' attribute.\n\n\n\nThis issue affects Apache Shiro from 1.0 to 2.1.0, and 3.0.0-alpha-1.\n\nUsers are recommended to upgrade to version 2.1.1, or 3.0.0-alpha-2 or later, which fixes the issue.\n\nIn the affected versions, Shiro-native session manager, as well as Remember-Me manager sends JSESSIONID and rememberMe cookies without 'secure' attribute by default."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Shiro","packageName":"org.apache.shiro:shiro-web","defaultStatus":"unaffected","versions":[{"version":"1.0","status":"affected","lessThanOrEqual":"2.1.0","versionType":"semver"},{"version":"3.0.0-alpha-0","status":"affected","lessThanOrEqual":"3.0.0-alpha-1","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://shiro.apache.org/security-reports.html#cve_2026_43828","tags":["vendor-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"YES","Recovery":"USER","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":5.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"AMBER","subAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N/AU:Y/R:U/RE:L/U:Amber","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"LOW"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-614","description":"CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-05-25T20:19:26.227Z"},"credits":[{"lang":"en","type":"finder","value":"Meteor_Kai <1318723916@qq.com>"},{"lang":"en","type":"remediation developer","value":"Lenny Primak <lenny@flowlogix.com>"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/25/7"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-25T21:26:13.232Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-26T12:38:31.723332Z","id":"CVE-2026-43828","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-26T12:38:38.399Z"}}]}}}