Go before 1.17.10 and 1.18.x before 1.18.2 has Incorrect Privilege Assignment. When called with a non-zero flags parameter, the Faccessat function could incorrectly report that a file is accessible.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "1.17.10"
},
{
"introduced": "1.18.0"
},
{
"fixed": "1.18.2"
}
]
}