The agent-to-controller security check FilePath#reading(FileVisitor) in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not reject any operations, allowing users to have unrestricted read access using certain operations (creating archives, FilePath#copyRecursiveTo).
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "2.303.3"
},
{
"introduced": "0"
},
{
"fixed": "2.319"
}
]
}