EX-23.1 4 cbu-20231231xex23d1.htm EX-23.1

Exhibit 23.1

​

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (Nos. 333-119590, 333-119887, 333-185556, 333-221190 and 333-266241) of Community Bank System, Inc. of our report dated February 29, 2024 relating to the financial statements and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.

​

​ | ​
/s/PricewaterhouseCoopers LLP | ​
Buffalo, New York | ​
February 29, 2024 | ​

​