{"data":{"id":"magento2-40563","source":"github-pr","sourceRef":"magento/magento2#40563","title":"Fix: Increase IP column length for IPv6 support in admin_user_session","pr":{"number":40563,"url":"https://github.com/magento/magento2/pull/40563","author":"PaulMcGregory","mergedAt":"2026-03-27T13:51:00Z","mergeCommit":"6001f4306d801d3b44c7e9938c17990b68fa1164","headCommit":"a40f13677898ba31a0f4b9eb33490c71ed212514","baseRef":"2.4-develop","diffSha256":"3441ea8a19c15e8024d3c69c0d0be79ad5afcd68faf69a5edc942dae4cb60978"},"issues":[{"number":40570,"url":"https://github.com/magento/magento2/issues/40570","title":"[Issue] Fix: Increase IP column length for IPv6 support in admin_user_session","labels":["Area: Account","Component: Admin","Issue: Confirmed","Priority: P3","Progress: PR Created","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"pr-derived"}],"fixedIn":"2.4.9","containingTags":["2.4.9"],"reportedOn":null,"codeMatch":{"2.4.6":"clean","2.4.6-p1":"clean","2.4.6-p2":"clean","2.4.6-p3":"clean","2.4.6-p4":"clean","2.4.6-p5":"clean","2.4.6-p6":"clean","2.4.6-p7":"clean","2.4.6-p8":"clean","2.4.6-p9":"clean","2.4.6-p10":"clean","2.4.6-p11":"clean","2.4.6-p12":"clean","2.4.6-p13":"clean","2.4.6-p14":"clean","2.4.6-p15":"clean","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"conflict"},"affectedVersions":["2.4.6","2.4.6-p1","2.4.6-p2","2.4.6-p3","2.4.6-p4","2.4.6-p5","2.4.6-p6","2.4.6-p7","2.4.6-p8","2.4.6-p9","2.4.6-p10","2.4.6-p11","2.4.6-p12","2.4.6-p13","2.4.6-p14","2.4.6-p15","2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5"],"components":["magento/module-security"],"files":[{"path":"app/code/Magento/Security/etc/db_schema.xml","change":"modified","package":"magento/module-security"}],"stripped":{"tests":[],"docs":[],"outsideCode":[]},"linesChanged":4,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Account"],"component":["Admin"],"priority":"P3","severity":null,"reportedOn":["2.4.x"]},"categories":["Admin"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"bbc90836bc3d92d5cb34dc6abb74bfdceee43cf724c4f4ec03ea291a490eb185","isBugfix":0.942,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.919,"feature":0.0209,"refactor":0.0218,"tests_only":0.007,"docs_only":0.0051,"dependency":0.0072,"cleanup":0.019},"confidence":0.8204},"scope":{"score":0.16,"probabilities":{"0":0.8753,"1":0.0894,"2":0.0353},"confidence":0.6631},"risk":{"score":1.4992,"probabilities":{"0":0.2172,"1":0.0664,"2":0.7164},"confidence":0.3472},"area":{"choice":"admin","probabilities":{"catalog":0.0164,"checkout":0.0164,"customer":0.2442,"admin":0.5604,"graphql_api":0.0127,"framework":0.0789,"frontend":0.0135,"other":0.0575},"confidence":0.2961},"securityRelevant":0.9145,"reportedVersion":{"choice":"unspecified","probabilities":{"2.4.0":0.0041,"2.4.0-p1":0.0045,"2.4.1":0.0039,"2.4.1-p1":0.0034,"2.4.2":0.0052,"2.4.2-p1":0.005,"2.4.2-p2":0.0066,"2.4.3":0.0111,"2.4.3-p1":0.0098,"2.4.3-p2":0.0104,"2.4.3-p3":0.0071,"2.4.4":0.0114,"2.4.4-p1":0.0076,"2.4.4-p10":0.0057,"2.4.4-p11":0.0072,"2.4.4-p12":0.0063,"2.4.4-p13":0.0061,"2.4.4-p14":0.0082,"2.4.4-p15":0.005,"2.4.4-p16":0.0068,"2.4.4-p17":0.0056,"2.4.4-p18":0.0049,"2.4.4-p2":0.0025,"2.4.4-p3":0.0029,"2.4.4-p4":0.0028,"2.4.4-p5":0.0034,"2.4.4-p6":0.004,"2.4.4-p7":0.004,"2.4.4-p8":0.0037,"2.4.4-p9":0.0037,"2.4.5":0.0177,"2.4.5-p1":0.0096,"2.4.5-p10":0.0071,"2.4.5-p11":0.0146,"2.4.5-p12":0.0099,"2.4.5-p13":0.0082,"2.4.5-p14":0.0077,"2.4.5-p15":0.007,"2.4.5-p16":0.0081,"2.4.5-p17":0.0075,"2.4.5-p2":0.0031,"2.4.5-p3":0.0043,"2.4.5-p4":0.004,"2.4.5-p5":0.004,"2.4.5-p6":0.0064,"2.4.5-p7":0.005,"2.4.5-p8":0.0049,"2.4.5-p9":0.0049,"2.4.6":0.0322,"2.4.6-p1":0.0225,"2.4.6-p10":0.0119,"2.4.6-p11":0.0159,"2.4.6-p12":0.0138,"2.4.6-p13":0.013,"2.4.6-p14":0.0125,"2.4.6-p15":0.0096,"2.4.6-p2":0.005,"2.4.6-p3":0.0074,"2.4.6-p4":0.0078,"2.4.6-p5":0.0074,"2.4.6-p6":0.0129,"2.4.6-p7":0.0097,"2.4.6-p8":0.0066,"2.4.6-p9":0.0064,"2.4.7":0.0215,"2.4.7-p1":0.0174,"2.4.7-p10":0.0094,"2.4.7-p2":0.0092,"2.4.7-p3":0.0112,"2.4.7-p4":0.0167,"2.4.7-p5":0.0121,"2.4.7-p6":0.0189,"2.4.7-p7":0.0155,"2.4.7-p8":0.0109,"2.4.7-p9":0.0084,"2.4.8":0.032,"2.4.8-p1":0.0243,"2.4.8-p2":0.0291,"2.4.8-p3":0.0219,"2.4.8-p4":0.0192,"2.4.8-p5":0.0167,"2.4.9":0.0222,"unspecified":0.1819},"confidence":0.0333},"backportWorthy":{"score":1.4942,"probabilities":{"0":0.0927,"1":0.3205,"2":0.5868},"confidence":0.1835}},"curated":{"title":"Increases the admin_user_session ip column length so IPv6 addresses fit","description":"The ip column in admin_user_session was limited to 15 characters, which is insufficient for IPv6 addresses (up to 45 characters) and can lead to data truncation or errors. The fix increases the ip column length to 45 in the Security db_schema.xml, for admin_user_session and one more table in that file.","categories":["Admin"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":null},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-40563 details"}